What Your Allocator Is Doing to Your C++ Program?
Sejal
Dynamic memory allocation is often treated as an implementation detail in C++ programs. Yet in practice, allocator behaviour strongly influences performance, scalability, memory usage, and even correctness. Seemingly unrelated symptoms -latency spikes, memory bloat, allocator contention, or hard-to-reproduce crashes -are frequently rooted in allocation patterns rather than algorithms.
Through this talk we'll examine what actually happens when C++ code allocates memory at runtime. We'll explore how common allocation strategies interact with object lifetime, threading, and cache locality, and how allocator behavior can amplify design decisions made at the C++ level.
We discuss how patterns such as short-lived allocations, shared ownership, and hidden allocation boundaries can lead to fragmentation, contention, and unpredictable performance.
Attendees will leave with a clearer mental model of allocator behavior and concrete guidance for designing C++ systems that are more predictable, scalable, and easier to reason about under real-world workloads.
Sejal
Sejal Gupta (She/Her) is a full-time C++ developer, passionate about technology and constantly strives to empower women in tech. She founded a community (WIT++: Women in Tech) where she has mentored 300+ women for STEM careers. She has authored 3 research articles and presented her work at various International Conferences. She currently works as a software engineer. She is a public speaker and loves to talk about solving problems using green computing. Apart from this, she also enjoys cooking.
LinkedIn: https://www.linkedin.com/in/sejal-gupta-she-her/ Scopus: https://www.scopus.com/authid/detail.uri?authorId=57222596059 Google Scholar: https://scholar.google.com/citations?hl=en&user=8O4uOVYAAAAJ