logoalt Hacker News

yeureka • today at 4:48 PM • 2 replies • view on HN

Bloomberg writes all of its C++ using an allocator aware version of the STL because of this issue. It’s open source and very high quality: https://github.com/bloomberg/bde


Replies

ibobev • today at 5:03 PM

What do you mean by "allocator-aware version of the STL"? The standard STL is also allocator-aware, and its containers have versions with a template allocator parameter and a polymorphic allocator.

➕ show 1 reply
denverllc • today at 7:48 PM

Given how far allocators have come (like mimalloc or jemalloc) I would be interested to see if they make up some of the gap between the standard allocators (easy but not performant) and intrusive container allocators like in BDE