It’s easy to treat the CPU that executes our code as a black box, but understanding what really goes on inside it can help you write more efficient code. In this talk, Matt Godbolt will lift the lid on modern x86 processors. He’ll explain some of their features and how the code you write maps to those features. He’ll give examples of how to diagnose and fix performance issues. Topics covered include memory, caching, out-of-order execution and branch prediction.