What Every C++ Programmer Should Know About Modern Compilers
summary
Compilers are modular with a front end and back end, not a black box, and GCC already supports more than 60 targets and nine front‑end languages; the back end does most optimizations including link‑time and profile‑guided passes and can out‑optimize hand‑tuned idioms. Tooling includes UBSan/ASan/TSan/CFSanitizer/EfficiencySanitizer for runtime checks, static tools built on the compiler for 100%‑accurate parsing, and experimental stochastic optimizers like Stoke that mutate short instruction sequences to find faster variants.
AI-written summary · about
chapters (6)
related talks
45mA Case for Frontend Optimization
01h 32mClosing Keynote: C++ Development Tools: Past, Present and Future
54mA look at C++ through the glasses of a language tool
57mC++ MythBusters Strike 2
59mModern C++ for Fun and Profit: This isn’t your old C++
01h 30mDangerous Optimizations in C and C++ Programming Languages
53mStandard C++ Toolset
01h 28mProgramming in Modern C with a Sneak Peek into C23
