hackertube.io

What's a Memory Allocator Anyway? - Benjamin Feng

Zig SHOWTIME · talk · Watch on YouTube

What it is

A Zig SHOWTIME talk by Benjamin Feng on what a memory allocator is, followed by an interview. It covers allocation strategies and different allocator types in Zig.

Why Hacker News recommends it

Recommended as a quick, clear overview of allocators and arenas that also shows how Zig approaches allocation.

  • 3 people recommended it
  • 3 different months
  • 0 strong recommendations
  • first 2020, last 2021

What HN commenters said

  1. “Talk on what memory allocators are, from a Zig contributor.”

    snicker7, 2020-10 · Recommendation · in “Custom Allocators Demystified”

  2. “General overview of single-thread allocation strategies; quick watch, makes you want arenas.”

    Rendello, 2021-02 · Recommendation · in “The effect of switching to TCMalloc on RocksDB memory use”

  3. “Nice overview of how Zig works and different allocator types.”

    kristoff_it, 2021-03 · Recommendation · in “Drop millions of allocations by using a linked list (2015)”

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

Topics: zig, allocators, arenas, memory management, systems programming

Also recommended by the same people