HN 精选

CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"

CppCon
7 人推荐 · 跨 7 个月 · 2014–2024
软件性能与系统优化系统编程语言(C/C++、Rust、Go)算法与数据结构
CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"

中文导读

Chandler Carruth 在 CppCon 2014 上的标杆演讲,阐释了写出高性能 C++ 的核心:在现代硬件架构下,数据结构选型与内存布局的影响力远胜精巧算法,并直击 unordered_map 等标准容器性能低下的硬件根源。

为什么 HN 推它

性能优化领域的常青必看指南。社区每当深入探讨哈希表实现、CPU 缓存行为或 STL 容器陷阱时,这篇演讲总会被奉为标准参考。

「我也是 Chandler Carruth 在 CppCon 2014 那场《算法保效率,数据结构拼性能》演讲的忠实拥趸。」HN 网友原话:I'm also a big fan of "Efficiency with Algorithms, Performance with Data Structures" by Chandler Carruth at CppCon 2014.
英文原摘要(HackerTube / Claude 整理)

Chandler Carruth's CppCon 2014 talk on writing fast C++, explaining why data structure choice and memory layout matter more than clever algorithms. It covers why standard containers like unordered_map perform poorly on modern CPUs.

A perennial recommendation for anyone learning performance optimization, cited whenever hash tables, cache behavior or STL containers come up.

HN 上的提及

strong_rec amaks · 2014-12 · HN 原文
See the great talk on CppCon 2014 about those issues
rec yoklov · 2015-02 · HN 原文
Chandler Carruth's CPPCon talk [0] this year was also great
rec sanderjd · 2015-08 · HN 原文
I've just watched a couple cppcon talks ([0], [1]) and I'm feeling a bit drunk on the kool-aid.
reference sanderjd · 2015-09 · HN 原文
Talk on STL data structures and why unordered_map uses buckets
rec humanrebar · 2016-05 · HN 原文
Listed among talks on C++ efficiency and performance

相关视频