Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to write cache-friendly C++ code in this comprehensive conference talk from CppCon 2025 by Jonathan Müller, a Software Engineer at think-cell and C++ standardization committee member. Explore the fundamental concepts of CPU caches and their critical impact on program performance, starting with why std::vector should be your default container choice due to its cache-friendly nature. Discover how CPU caches work from the ground up, including the mechanisms CPUs use to make caching seamless and the scenarios where these optimizations fail. Master cache-friendly data structures and data-oriented design principles while learning to identify and avoid common performance pitfalls that can significantly slow down your applications. Gain practical insights into structuring your C++ programs to maximize cache efficiency and overall performance through real-world examples and expert guidance from an industry professional who maintains core libraries at think-cell and contributes to the C++ standard.