More speculations on arenas in C++

273 · Christopher Wellons · Sept. 30, 2025, 12:01 p.m.
Summary
The blog discusses insights on C++ memory management after reading Patrice Roy’s book, highlighting differences in object lifetimes between C and C++, issues with common memory management practices in C++, and recent changes to the C++ language that affect memory allocation. The author reflects on their own arena allocation implementation and provides corrected code examples and explanations.