hackertube.io

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

CppNow · talk · Watch on YouTube

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

  1. “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”

  2. “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”

  3. “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