THE VIDEO SHELF · c++ performance
CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
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.
Why HN readers recommended it
A perennial recommendation for anyone learning performance optimization, cited whenever hash tables, cache behavior or STL containers come up.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- CppCon
- Topic
- c++ performance
- Format
- talk
- Level
- intermediate
- HN recommenders in dataset
- 7
- HN mentions in dataset
- 15
- Recommendation years in dataset
- 2014–2024
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
There are many things in the standard C++ library which are named incorrectly (std::string), awkwardly (std::unordered_map) and and implemented inefficiently from the perspective of modern CPUs (same std::unordered_map, which uses linked list for the underlying hash table buckets). See the great talk on CppCon 2014 …
amaks on Hacker News · 2014-12
In Std::string half of all allocations in the Chrome browser processStrongly agree. That's perhaps less true for the software I work on these days (lapack), but I've seen that so many times over my career. I'm also a big fan of "Efficiency with Algorithms, Performance with Data Structures" by Chandler Carruth at CppCon 2014. [VIDEO]
slavik81 on Hacker News · 2024-03
In Ask HN: How can I learn about performance optimization?Chandler Carruth's CPPCon talk [0] this year was also great (surprisingly, as I had a fairly low opinion of most of the others). It wasn't better than Mike Acton's [1], but I suspect that it was more actionable for most devs. [0] [VIDEO] [1] [LINK]
yoklov on Hacker News · 2015-02
In The Care and Feeding of C++'s Dragons (2013) [video]
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.