hackertube.io

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

CppCon · talk · Watch on YouTube

What it is

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 Hacker News recommends it

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

  • 2 people recommended it
  • 2 different months
  • 0 strong recommendations
  • first 2019, last 2023

What HN commenters said

  1. “Also, rest of his talks are also fascinating”

    Emery Berger's talks are fascinating

    divan, 2019-12 · Recommendation · in “Ask HN: Best Talks of 2019?”

  2. “the weird and wonderful work of Emery Berger et al with their “Mesh” malloc implementation, which blows my mind”

    Mesh malloc compacts memory in C++ programs

    samwho, 2023-05 · Recommendation · in “A highly intuitive visual guide on how memory allocation works, step by step”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: mesh, malloc, memory fragmentation, compaction, c++

Also recommended by the same people