CppCon 2015: Andrei Alexandrescu “std::allocator...”
What it is
Andrei Alexandrescu's CppCon 2015 talk argues that std::allocator is badly designed. He proposes building high-performance allocators from small composable, templated pieces.
Why Hacker News recommends it
HN repeatedly recommends it as an entertaining, mind-opening talk on allocator design and composable generic programming.
- 7 people recommended it
- 11 different months
- 7 strong recommendations
- first 2017, last 2025
What HN commenters said
“gave a great, entertaining, and technically elegant talk on memory allocation in C and C++ at Cppcon 2015 that is well worth watching”
Entertaining, elegant talk on memory allocation in C and C++.
nly, 2017-05 · Strong recommendation · in “The Horror in the Standard Library”
“(mind bending stuff)”
Concrete example of design-by-introspection in allocators.
p0nce, 2018-12 · Strong recommendation · in “Using D to Create the World’s Fastest File System”
“it was really interesting. And Andrei's presentation style was fantastic, per usual.”
Composable allocator design with a fantastic presentation style.
favorited, 2020-04 · Strong recommendation · in “Benchmarking C++ Allocators”
“the brilliant CppCon 2015 talk by Andrei Alexandrescu”
Modular allocator library built up from pieces.
jiggawatts, 2020-12 · Strong recommendation · in “Writing a Memory Allocator (2019)”
“Andrei Alexandrescu had a great talk about allocators in C++ a couple of years ago”
Great talk on C++ allocators.
badsectoracula, 2017-06 · Recommendation · in “Show HN: Crown – A flexible game engine written from scratch in C++”
“Andrei Alexandrescu had a great talk[0] on allocators”
Argues for tunable, composable allocator systems.
Quekid5, 2019-06 · Recommendation · in “Mimalloc – A compact general-purpose allocator”
“See this CppCon talk by the (engaging and funny) Andrei Alexandrescu”
Engaging and funny talk on why allocator-type coupling is broken.
einpoklum, 2023-12 · Recommendation · in “C++ Should Be C++”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: c++, std::allocator, composable allocators, andrei alexandrescu, templates, cppcon
Also recommended by the same people
talkCppCon 2019: Matt Godbolt “Compiler Explorer: Behind The Scenes”CppCon · 2 HN recommenders · 2021–2025
commentaryTwitter and Visual Studio RantMolly Rocket · 3 HN recommenders · 2020–2026
lectureArithmetic, Population and Energy - a talk by Al BartlettlXlSalemlXl · 6 HN recommenders · 2016–2023
talkCppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook"CppCon · 4 HN recommenders · 2018–2026
talkThe Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]cpponsea · 2 HN recommenders · 2021–2022
talkLISA11 - Fork Yeah! The Rise and Development of illumosUSENIX · 9 HN recommenders · 2012–2026
explainerHow big is a visible photon?Huygens Optics · 3 HN recommenders · 2021–2025
demoBOLTR: Juicero, Cold Press Juicer for Rich WeirdosAvE · 6 HN recommenders · 2017–2026