HomeC++Taming dynamic memory – An introduction to custom allocators in C++ – Andreas Weis – code::dive 2018
Taming dynamic memory – An introduction to custom allocators in C++ – Andreas Weis – code::dive 2018
November 13, 2019
Dynamic memory allocation is a feature that is often taken for granted. Most developers use some form of new or malloc every day, usually without worrying too much what goes on behind the scenes. But what about those situations where the built-in mechanisms are not good enough, be it for reasons of performance, safety, or due to restrictions of the target hardware?
In this talk, we will explore how C++ uses custom allocators to overcome those issues. We will explain how basic allocation…