C++Now 2018: Matt Godbolt “What Else Has My Compiler Done For Me Lately?”
What it is
Matt Godbolt, creator of Compiler Explorer, tours surprising optimizations modern compilers perform, such as turning loops into closed-form sums and using popcount instructions. He explores what the compiler does behind the scenes.
Why Hacker News recommends it
HN recommends it as a detailed, entertaining look at the crazy optimizations compilers do.
- 3 people recommended it
- 3 different months
- 1 strong recommendations
- first 2018, last 2020
What HN commenters said
“Both are great presentations going into details on some of the crazy optimizations compilers will do.”
Detailed tour of surprising compiler optimizations
snailmailman, 2019-09 · Strong recommendation · in “Popcount CPU instruction”
“Compilers are awesome, check out Matt Godbolt's talk on this very topic”
Talk on clever compiler optimizations like closed-form sums and popcount
drej, 2020-02 · Recommendation · in “Rust: Zero-Cost Abstraction in Action”
“this reminds me of this great talk by Matt Godbolt”
Follow-up Godbolt talk on what compilers do
manaskarekar, 2020-04 · Recommendation · in “I translated a simple C program to x86_64 and it was slower”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: c++, compilers, matt godbolt, compiler explorer, assembly, optimization
Also recommended by the same people
talkCppCon 2017: Matt Godbolt “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”CppCon · 7 HN recommenders · 2018–2022
demoTypeScript types can run DOOMMichigan TypeScript · 1 HN recommender · 2025–2025
talk"Testing Distributed Systems w/ Deterministic Simulation" by Will WilsonStrange Loop Conference · 12 HN recommenders · 2014–2024
talkThe economics of open source by C J Silverio | JSConf EU 2019JSConf · 2 HN recommenders · 2019–2020
talkWhat is in a Lucene index? Adrien Grand, Software Engineer, ElasticsearchLuceneSolrRevolution · 3 HN recommenders · 2019–2020
talkRich Harris - Rethinking reactivityYou Gotta Love Frontend · 15 HN recommenders · 2019–2026
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025
talkWilliam Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]PapersWeLove · 11 HN recommenders · 2017–2026