Cache-Friendly C++ - Jonathan Müller - CppCon 2025 @CppCon
Cache-Friendly C++ - Jonathan Müller - CppCon 2025  @CppCon
Uploaded December 2025 | Updated September 2026, 2 weeks ago
cppcon.org
---

Cache-Friendly C++ - Jonathan Müller - CppCon 2025
---

When you need a container, pick std::vector<T> by default. This is because std::vector<T> is cache-friendly.

What does that mean, though?

This talk will answer that from the ground-up. We will cover the need for CPU caches and their consequences, how the CPU tricks to make them as seamless as possible, and when and why those tricks sometimes fail. This means that you need to be careful when structuring your program to avoid slowdowns. We will thus explore cache-friendly data structures, data-oriented design, and how to avoid common pitfalls.

---

Slides: github.com/CppCon/CppCon2025/blob/main/Presentations/Cache_Friendly_Cpp.pdf

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Jonathan Müller

Jonathan is a Software Engineer at think-cell. There, he is responsible for maintaining think-cell's core libraries, which include a custom range library, a fast and convenient JSON parser, and many other utilities and data structures to write elegant C++ code. Before working at think-cell, he wrote many useful open-source C++ libraries. He is also a member of the C++ standardization committee, where he serves as the chair for std::ranges, and a frequent conference speaker.
---


CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer
Cache-Friendly C++ - Jonathan Müller - CppCon 2025Lightning Talk: How Far Should You Indent Your Code? - The Number Of The Counting - Dave SteffenLightning Talk: Crafting CUDA Compatible C++ Code - Jon White - CppCon 2025Back to Basics: Master the static, inline, const, and constexpr C++ Keywords - Andreas FertigFrom Pure ISO C++20 To Compute Shaders - Koen Samyn - CppCon 2025Learn C++ Performance Secrets from a Bloomberg Engineer At CppCon 2025!Back to Basics: Rvalues and Move Semantics in C++ - Amir Kirsh - CppCon 2024Implement the C++ Standard Library: Design, Optimisations, Testing while Implementing Libc++Lightning Talk: Rust Programming in 5 Minutes - Tyler Weaver - CppCon 2024Lightning Talk: Do You Love or Hate Your C++ Build System? - Helen Altshuler - CppCon 2024Back to Basics: How to Refactor C++ Code - Amir KirshLightning Talk: DevSecOps for C++? Keep Calm and use Conan - Luis Caro Campos - CppCon 2024
CppCon |

Cache-Friendly C++ - Jonathan Müller - CppCon 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER