do not click

Meeting C++ 2025   |  Online   |  Training   |  Books   |  Survey   |  Job fair   |  Advertising   |  Jobposting   |  Login

Meeting C++ 2025 - Cache-Friendly C++

Conference | Live Schedule | Talks | Get your ticket | Slides | Set your timezone

Cache-Friendly C++

Join session

Jonathan Müller

On Day 2 at 14:30 (CET/Berlin) in Track B [Opal Room and online]

When you need a container, pick `std::vector` by default. This is because `std::vector` 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.

Please login to comment

Copyright Meetingcpp GmbH Imprint Privacy Policy