Heaps Don't Lie - Guidelines for Memory Allocation in C++
Mathieu Ropert
11:00-12:30, Tuesday, 1st April 2025
Dynamic memory allocations are ever-present in most programs. A simple look at the RAM usage of the browser you are currently using to read this abstract will likely tell you something.
But what of the runtime performance cost? How much (or little) should you be concerned about it and keep it in mind while implementing new features or designing software?
In this talk, we will present a set of about 10 guidelines to keep in mind when dealing with dynamic memory allocation and mitigate its potential performance impact on execution speed. From quite simple to somewhat advanced, everyone should be able to walk away from this talk having learnt something.
Mathieu Ropert
French C++ expert working on (somewhat) historical video games. Has a love/hate relationship with build systems but lately mostly focuses on performance and multithreading. Past speaker at CppCon, Meeting C++, code::dive and ACCU. Used to run the Paris C++ User Group. Currently lives in Sweden.