HackerTube

THE VIDEO SHELF · compiler optimizations

CppCon 2017: Matt Godbolt “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”

Matt Godbolt's CppCon 2017 talk shows what modern compilers do with your C++ code, using Compiler Explorer to inspect generated assembly. It covers surprising optimizations and how the tool works.

Why HN readers recommended it

HN recommends it as an entertaining, mind-blowing look at compiler cleverness from a great speaker.

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
compiler optimizations
Format
talk
Level
intermediate
HN recommenders in dataset
7
HN mentions in dataset
12
Recommendation years in dataset
2018–2022

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.

  • Matt Godbolt is a great speaker as well. I loved this talk that included a bit about the architecture behind his Compiler Explorer. The rest of his talk is super cool as well. E.g. closed form solutions from O(n) code? Compilers are awesome. [VIDEO]

    drej on Hacker News · 2018-12
    In Compiler Explorer
  • 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 …

    snailmailman on Hacker News · 2019-09
    In Popcount CPU instruction
  • You should check out this presentation done by Matt Godbolt about compiler internals. He talks about what kind of optimizations are being done by GCC and Clang. Pretty amazing stuff. For example, the compiler will figure out you are trying to write a pop count …

    pkaye on Hacker News · 2018-01
    In Outperforming LAPACK with C++ metaprogramming

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.

Keep exploring