Polymorphic Allocators for Fundamental Libraries

A session at ACCU 2014

Saturday 12th April, 2014

11:30am to 1:00pm (GMT)

One of the key resources in any C++ program is memory, as every object must, if nothing else, occupy some memory itself. Unsurprisingly, this has lead to many attempt to find "a better memory allocator", often with competing priorities. Do you want a faster allocator? Thread-specific allocation? Or more "secure"? Do you want to better track leaks and report errors? Or simply monitor usage patterns?

With polymorphic allocators, you can pick the most appropriate type of allocator for your specific problem, on a per-object basis rather than per-whole-application. There is over a decade of experience with this allocator model at Bloomberg, and it is now planned for standardization as part of the forthcoming Library Fundamentals TS, building on the foundations for custom allocators laid down in C++11.

This session will explore the motivation for using custom allocators, highlighting the value of being able to specify per-object. It will then walk through the facilities and some of the proposed new allocators for the fundamentals TS, and discuss some of the implications of programming with this new model.

About the speaker

This person is speaking at this event.
Alisdair Meredith

Senior Software Engineer at Bloomberg LP bio from LinkedIn

Sign in to add slides, notes or videos to this session

ACCU 2014

England England, Bristol

8th12th April 2014

Tell your friends!


Time 11:30am1:00pm GMT

Date Sat 12th April 2014

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session