Talks to Watch

What's a Memory Allocator Anyway? - Benjamin Feng

89K views · Jun 29, 2020 · 48:30 · 3 HN recommenders · 3 mentions · discussed 2020–2021

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 points people here: Recommended as a quick, clear overview of allocators and arenas that also shows how Zig approaches allocation.

What Hacker News said 3

Recommendssnicker7Oct 2020

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

Full comment

Would recommend watching the "What's a Memory Allocator, Anyway?" talk from Zig contributor Benjamin Feng: this video

in “Custom Allocators Demystified” · view on HN
RecommendsRendelloFeb 2021

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

Full comment

It's interesting that I saw this post minutes after watching the talk "What's a Memory Allocator Anyway?" by Benjamin Feng. It's ostensibly about Zig's allocation schemes, but it's more of a general overview of the varied (single-thread) allocation strategies in use today. It made me really want to try out arena allocators It's a quick watch at 1.5x speed, the last third is an interview. 1. this video

in “The effect of switching to TCMalloc on RocksDB memory use” · view on HN
Recommendskristoff_itMar 2021

Nice overview of how Zig works and different allocator types.

Full comment

For an overview of how Zig does this and at the same time a nice overview on different types of allocators: What's a Memory Allocator Anyway? by Benjamin Feng this video

in “Drop millions of allocations by using a linked list (2015)” · view on HN