CppCon 2014: Mike Acton "Data-Oriented Design and C++"
9 人推荐 · 跨 9 个月 · 2015–2026

中文导读
Insomniac Games 的 Mike Acton 提出,程序的本质就是转换数据。他在演讲中尖锐地指出,很多主流 C++ 面向对象的写法在极致追求性能的游戏开发中反而成了阻碍,并深入剖析了 CPU 缓存机制、内存数据排布以及编译器的现实局限。
为什么 HN 推它
哪怕 Acton 说话直切要害、毫不留情,这期演讲依然是 HN 社区公认讨论面向数据设计(DOD)与贴近底层硬件调优的必看经典。
「想要建立对高吞吐系统性能直觉,这是门槛最低、吸收最快的一课。」HN 网友原话:one of the most digestible ways to start thinking about performance in high throughput systems
英文原摘要(HackerTube / Claude 整理)
Mike Acton of Insomniac Games argues that a program's purpose is transforming data, and shows how common C++ approaches work against that in performance-critical game development. He covers cache behavior, data layout and the limits of compilers.
It is the go-to talk HN points to for data-oriented design and hardware-aware performance thinking, despite Acton's blunt style.
HN 上的提及
For more on this approach, see
Mike Acton being aggressively opinionated on the subject, but the lecture is really good
The problem is row-based vs column-based. Array of structs vs Structure of arrays.
Thought I'd add a gem from Mike Acton: Data-Oriented Design and C++