Skip to content

Commit a7028af

Browse files
english translation; better README
1 parent a637393 commit a7028af

68 files changed

Lines changed: 26610 additions & 265 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.en.md

Lines changed: 130 additions & 134 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 125 additions & 126 deletions
Large diffs are not rendered by default.

changelogs/v0.2.0.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# v0.2.0 (2026-05-04)
2+
3+
新增卷九(开源项目学习)初始内容,完善构建与 CI 基础设施。
4+
5+
## 新增内容
6+
7+
### 卷九:开源项目学习
8+
- Chromium OnceCallback 源码研读
9+
- ccache 加速支持、GCC 14 编译环境升级
10+
11+
## 工程改进
12+
13+
- CI 增加 ccache 缓存,加速示例构建
14+
- GCC 14 安装脚本更新,支持新标准代码编译
15+
- 修复 vol9 入口缺失问题
16+
17+
## 内容数据
18+
19+
| 指标 | 数量 |
20+
|------|------|
21+
| 文章总数 | ~200 篇 |
22+
| 支持平台 | host / STM32F1 / ESP32 / RP2040 |

changelogs/v0.3.0.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# v0.3.0 (2026-05-20)
2+
3+
第二次功能版本更新:卷五(并发编程)全面重写、卷十(课程与演讲笔记)正式上线、贡献者体系建立,以及多项工程改进。
4+
5+
## 新增内容
6+
7+
### 卷五:并发编程(全面重写,47 篇文章)
8+
9+
从零重写并发编程卷,覆盖从线程基础到分布式桥接的完整知识链:
10+
11+
- **ch00** 并发基础概念:并发与并行、硬件与软件线程、Amdahl 定律与 Gustafson 定律
12+
- **ch01** 线程生命周期与 RAII:`std::thread`、jthread、线程参数传递、detached 线程
13+
- **ch02** 互斥量与条件变量同步:mutex 族、lock_guard / unique_lock / scoped_lock、条件变量模式
14+
- **ch03** 原子操作与内存模型:`std::atomic`、六种 memory order、SeqCst 到 Relaxed 的完整推导
15+
- **ch04** 并发数据结构:线程安全队列、环形缓冲区、读写锁、无锁栈与 MS 队列
16+
- **ch05** Future、Task 与线程池:`std::future` / `std::packaged_task`、可伸缩线程池设计
17+
- **ch06** 异步 I/O 与协程:epoll/kqueue/io_uring 概览、C++20 协程、协程调度器
18+
- **ch07** Actor 与 Channel 模式:Actor 模型、CSP Channel、模式对比与选型
19+
- **ch08** 调试、测试与性能分析:TSan / Helgrind、并发测试策略、性能剖析
20+
- **ch09** 分布式桥接:网络序列化、gRPC 概览、分布式一致性基础
21+
22+
### 卷十:课程与演讲笔记(新增)
23+
24+
- **CppCon 2025** 笔记:
25+
- *Concept-Based Generic Programming* — concepts 实战研读
26+
- *Some Assembly Required* — 编译器后端与代码生成
27+
28+
### 贡献者体系
29+
30+
- 新增 `CONTRIBUTORS.md`,记录所有贡献者
31+
- 文档站增加贡献者卡片页(中文 / 英文)
32+
- README 同步展示贡献者列表
33+
34+
## 工程改进
35+
36+
- 修复搜索索引中中英文混合结果的排序问题(#20
37+
- 修复编译卷 404 错误
38+
- 修复搜索功能崩溃问题(#22
39+
- Hook 优化:改进 404 检查逻辑
40+
- 增强 CI 导航链接可达性检查(#10
41+
- Vol.1 基础类型章节内容修正(#15, #16
42+
43+
## 文档与站点
44+
45+
- Vol.1 `01-basic-types.md` 误导性内容修正
46+
- 全站英文翻译保持 100% 覆盖
47+
48+
## 内容数据
49+
50+
| 指标 | 数量 |
51+
|------|------|
52+
| 文章总数(中文) | 411 篇 |
53+
| 英文翻译 | 410/410(100%) |
54+
| 卷五文章数 | 47 篇 |
55+
| 新增卷 | 卷十:课程与演讲笔记 |
56+
| 支持平台 | host / STM32F1 / ESP32 / RP2040 |

documents/en/vol10-open-lecture-notes/cppcon/2025/01-concept-based-generic-programming/01-type-safety-and-number-concept.md

Lines changed: 1128 additions & 0 deletions
Large diffs are not rendered by default.

documents/en/vol10-open-lecture-notes/cppcon/2025/01-concept-based-generic-programming/02-range-and-concept-composition.md

Lines changed: 755 additions & 0 deletions
Large diffs are not rendered by default.

documents/en/vol10-open-lecture-notes/cppcon/2025/01-concept-based-generic-programming/03-syntax-advanced-concepts-and-generic-philosophy.md

Lines changed: 913 additions & 0 deletions
Large diffs are not rendered by default.

documents/en/vol10-open-lecture-notes/cppcon/2025/01-concept-based-generic-programming/04-template-compilation-and-future.md

Lines changed: 567 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Concept-based Generic Programming
3+
description: 'CppCon 2025 Talk Notes — Bjarne Stroustrup: Concept-Based Generic Programming'
4+
conference: cppcon
5+
conference_year: 2025
6+
talk_title: Concept-based Generic Programming
7+
speaker: Bjarne Stroustrup
8+
video_bilibili: https://www.bilibili.com/video/BV1ptCCBKEwW
9+
video_youtube: https://www.youtube.com/watch?v=VMGB75hsDQo
10+
tags:
11+
- cpp-modern
12+
- host
13+
- intermediate
14+
difficulty: intermediate
15+
platform: host
16+
cpp_standard:
17+
- 20
18+
- 23
19+
translation:
20+
source: documents/vol10-open-lecture-notes/cppcon/2025/01-concept-based-generic-programming/index.md
21+
source_hash: 190ec91565500db58f035ee3e208fc9c61677e0bc2085b53e7197bfadf733160
22+
translated_at: '2026-05-20T04:33:58.146902+00:00'
23+
engine: anthropic
24+
token_count: 288
25+
---
26+
<TalkInfoCard
27+
talkTitle="Concept-based Generic Programming"
28+
speaker="Bjarne Stroustrup"
29+
conference="cppcon"
30+
:year="2025"
31+
videoBilibili="https://www.bilibili.com/video/BV1ptCCBKEwW"
32+
videoYoutube="https://www.youtube.com/watch?v=VMGB75hsDQo"
33+
/>
34+
35+
## Notes
36+
37+
<ChapterNav variant="sub">
38+
<ChapterLink href="01-type-safety-and-number-concept">Type Safety, Number Constraints, and Bounds Checking</ChapterLink>
39+
<ChapterLink href="02-range-and-concept-composition">Ranges, Iterators, and Concept Composition</ChapterLink>
40+
<ChapterLink href="03-syntax-advanced-concepts-and-generic-philosophy">Syntax Unification, Advanced Concepts, and Generic Philosophy</ChapterLink>
41+
<ChapterLink href="04-template-compilation-and-future">Template Compilation Model and Future Outlook</ChapterLink>
42+
</ChapterNav>

0 commit comments

Comments
 (0)