HackerTubewatch
Surprise me
Frame from CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!" Plays via YouTube's privacy-enhanced embed

CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"

48 videos recommended on HN
YouTube
3 HN users recommended this talk3 months2015–2020 score 3.5
Years with an HN recommendation, 2007–2026

HN recommends it as an eye-opening primer on benchmarking and performance analysis, especially for people who have not benchmarked on Linux.

Chandler Carruth walks through tuning C++ performance, from writing benchmarks to analyzing results on real CPUs and compilers. It focuses on small-scale problems such as loop kernels, data structures and algorithms, and on keeping compilers from optimizing benchmarks away.

“Optimizing the Emergent Structures of C++” (HN, 2016)

1 strong recommendations · 2 recommendations · 1 citations · Talks · advanced

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@humanrebar May 2016 Strongly recommends
on HN thread Why I don't spend time with Modern C++ anymore
Here's a few: - "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!" [this video] - "Understanding Compiler Optimization" [link] - "Optimizing the Emergent Structures of C++" [link] - "Efficiency with Algorithms" [link] The first one is really good if you've never benchmarked anything in a Linux environment. Or if you otherwise want to learn how to investigate how C++ gets turned into machine code.
Teaches benchmarking on Linux and how C++ becomes machine code.
@kbenson Oct 2015 Recommends
on HN thread Do you know how much your computer can do in a second?
Interestingly, there's quite a bit that's needed to ensure you bypass some compiler optimizations. Here's an ey-opening (for me) talk[1] on benchmarking C++ and compilers which touched on it. 1: [this video]
Eye-opening talk on benchmarking C++ and bypassing compiler optimizations.
@thomashusa Mar 2020 Recommends
on HN thread When Bloom filters don't bloom
There is a very interesting talk [1] by Chandler Carruth that I stumbled upon last weekend that is very much related to this [1] [this video]
Chandler Carruth talk related to performance and benchmarking

Citations, criticism and jokes

@misnome Aug 2019 Cites it
on HN thread Why Const Doesn't Make C Code Faster
> Anecdote: Optimum C blew away all the other C compilers on a magazine benchmark article because it figured out that the benchmark code did nothing and deleted it. I remember this problem being discussed in a CPPCon talk a few years ago, and some ways to "trick" the (modern) compilers into not optimising away the benchmark code - I think it was Chandler Carruth's "Tuning C++" talk: [this video]
Talk on benchmarking pitfalls and stopping compilers optimizing benchmark code away

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close