HackerTube.dev

C++Now 2018: Matt Godbolt “What Else Has My Compiler Done For Me Lately?”

CppNow · 10.6K views · 2018-06-07 · 1:30:03

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

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.

On Hacker News

HN recommends it as a detailed, entertaining look at the crazy optimizations compilers do.

Recommended by 3 HN people across 3 months · HN mentions 2018–2020

Topics

Search by tags

What people said

snailmailman · 2019-09 · Strong recommendation

I highly recommend Matt Godbolt's talk "What has my compiler done for me lately?"[0] and its follow-up[1]. Both are great presentations going into details on some of the crazy optimizations compilers will do. As someone who knows very little about the inner workings of compilers my mind was blown when I saw some them. [0] [LINK] [1] [VIDEO]

Read the original HN comment ↗
manaskarekar · 2020-04 · Recommendation

Tangent, but this reminds me of this great talk by Matt Godbolt from CppCon 2017: “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid” [LINK] . And the follow up [VIDEO] .

Read the original HN comment ↗
drej · 2020-02 · Recommendation

This is not Rust specific, this is a compiler thing, both LLVM and GCC can detect sums and generate closed form formulas instead. There are other fun algorithm detections - e.g. if you try to do bitcounts yourself, LLVM will use popcnt instead. Compilers are awesome, check out Matt Godbolt's talk on this very topic: [VIDEO]

Read the original HN comment ↗

Sources

Video by CppNow, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources