HackerTube

THE VIDEO SHELF · memory allocation

CppCon 2019: Emery Berger “Mesh: Automatically Compacting Your C++ Application's Memory”

Emery Berger's CppCon 2019 talk introducing Mesh, a drop-in malloc replacement that compacts memory in unmodified C and C++ programs. It tackles fragmentation by merging pages without changing pointers.

Why HN readers recommended it

HN recommends Berger's talks as fascinating and cites Mesh as mind-blowing memory allocator work.

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 allocation
Format
talk
Level
advanced
HN recommenders in dataset
2
HN mentions in dataset
3
Recommendation years in dataset
2019–2023

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.

  • "Performance matters" by Emery Berger on StrangeLoop'19 is a great talk - [LINK] Also, rest of his talks are also fascinating: - [VIDEO] - [LINK]

    divan on Hacker News · 2019-12
    In Ask HN: Best Talks of 2019?
  • You’d need cooperation between your malloc implementation and the application code. It’s possible, but tricky. If your malloc returned a pointer to a pointer, and promised to keep the first level pointer up to date, and was able to lock your application whenever it moved …

    samwho on Hacker News · 2023-05
    In A highly intuitive visual guide on how memory allocation works, step by step

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

Keep exploring