淘沙TV
软件性能和优化

Andrew Kelley:面向数据设计(DoD)实战指南

原名:Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)
ChuckNorrisFK·YouTube 41.5 万次观看·B站 359 播放··46:40
在 B 站打开 原 YouTube 版本

关于这个视频

Zig 的创建者 Andrew Kelley 提出了实用的面向数据的设计技术,用于缩小内存占用并使程序缓存友好。最后他通过案例研究了这些想法如何加速 Zig 编译器。

HN 为什么推荐它:HN 将其视为关于面向数据设计的最佳演讲之一,将数组结构和紧凑数据布局应用于真正的编译器。

“两个最著名的面向数据的设计演讲是对 SoA 的一个很好的介绍(对于任何好奇的人)”— HN 评论 · 2026 · 原文

查看英文原文

Andrew Kelley, creator of Zig, presents practical data-oriented design techniques for shrinking memory footprint and making programs cache friendly. He ends with a case study of how these ideas sped up the Zig compiler.

Why HN likes it: HN cites it as one of the best talks on data-oriented design, applying struct-of-arrays and compact data layouts to a real compiler.

“A good introduction to SoA (for anyone curious) are the two most famous Data-Oriented Design talks”

HN 提及 10 次推荐者 4 人首次 2024最近 2026质量分 5.0

原视频频道:ChimiChanga · YouTube 41.5 万次观看

演讲进阶常青之字形安德鲁·凯利缓存效率数组结构编译器性能