▶

What Modern Compilers Optimize: Matt Godbolt at C++Now 2018

CppNow · Talk · YouTube title: C++Now 2018: Matt Godbolt “What Else Has My Compiler Done For Me Lately?”
Why it's here

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

What it covers

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.