Implementation Skills¶
Implementation Skills 关注组件内部怎么实现。
在本项目里,它主要包括:
- Modern C++ for systems
- C++ performance
- data structures for systems
- algorithms with predictable latency
- memory layout and ownership
- concurrency and synchronization
它不是 Infrastructure 本身,而是使用 Infrastructure 和 Runtime API 的能力。
当前内容¶
C++ Systems Performance¶
这一部分关注 C++ 如何影响低延迟系统:
- atomics 与 memory order
- cache 与 false sharing
- allocators
- object lifetime
- STL 性能陷阱
Data Structures for Systems¶
这一部分后续扩展,关注系统组件里常用的数据结构:
- array / vector
- ring buffer
- hash table
- heap / priority queue
- tree / ordered index
- bitmap
- freelist / object pool
学习目标¶
你需要能回答:
- 这个组件内部状态应该怎么表示?
- 热路径是否分配内存?
- 数据结构是否 cache-friendly?
- 算法复杂度是否稳定?
- 并发模型是否清楚?
- 生命周期和所有权是否可证明?