hackertube.io

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

CppCon · talk · Watch on YouTube

What it is

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 Hacker News recommends it

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

  • 7 people recommended it
  • 6 different months
  • 2 strong recommendations
  • first 2018, last 2022

What HN commenters said

  1. “Matt Godbolt is a great speaker as well. I loved this talk”

    Great speaker covering Compiler Explorer architecture and compiler tricks.

    drej, 2018-12 · Strong recommendation · in “Compiler Explorer”

  2. “I highly recommend Matt Godbolt's talk”

    Mind-blowing compiler optimizations explained in detail.

    snailmailman, 2019-09 · Strong recommendation · in “Popcount CPU instruction”

  3. “Pretty amazing stuff.”

    Shows surprising compiler optimizations in GCC and Clang, like popcount.

    pkaye, 2018-01 · Recommendation · in “Outperforming LAPACK with C++ metaprogramming”

  4. “Entertaining talk, not extremely in depth, though.”

    Entertaining talk on what compilers do, not deeply technical.

    highesttide, 2018-10 · Recommendation · in “Ask HN: What are some of the best technical talks you've heard?”

  5. “I recommend Matt Godbolt's Talk(s) about compiler cleverness”

    Shows how clever compilers are, including multiplication optimizations.

    fps_doug, 2019-09 · Recommendation · in “Color Emulation”

  6. “this great talk by Matt Godbolt from CppCon 2017”

    Great talk on what compilers do for you.

    manaskarekar, 2020-04 · Recommendation · in “I translated a simple C program to x86_64 and it was slower”

  7. “Link to the (great) CppCon talk”

    Great CppCon talk on what compilers can optimize.

    s3cur3, 2021-03 · Recommendation · in “Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: compiler explorer, c++, assembly, godbolt, cppcon

Also recommended by the same people