HackerTube

THE VIDEO SHELF · memory allocators

CppCon 2015: Andrei Alexandrescu “std::allocator...”

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 HN readers recommended it

HN repeatedly recommends it as an entertaining, mind-opening talk on allocator design and composable generic programming.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
CppCon
Topic
memory allocators
Format
talk
Level
advanced
HN recommenders in dataset
7
HN mentions in dataset
16
Recommendation years in dataset
2017–2025

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • Actually it is C's malloc and free that is "broken". malloc() takes a size parameter, but free() doesn't. This imbalance means it can never be maximally efficient. Whatever GNU stdlibc++ is doing is probably, on balance, a net win for most programs. It's not exactly …

    nly on Hacker News · 2017-05
    In The Horror in the Standard Library
  • > I would have liked to hear more about what exactly made D so great This WIP article explains very well the USP of D: [LINK] (section 3) This article highlight the value of "design-by-introspection" applied to a particular problem space: [LINK] This talk present …

    p0nce on Hacker News · 2018-12
    In Using D to Create the World’s Fastest File System
  • A bit unrelated, but if anyone is interested, I recently watched Andrei Alexandrescu's 2015 talk about a composable allocator design in C++ and it was really interesting. And Andrei's presentation style was fantastic, per usual. Note that this talk is about a std::allocator-like type, potentially …

    favorited on Hacker News · 2020-04
    In Benchmarking C++ Allocators

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.

Keep exploring