E-Ink News Daily

← Back to list

the lost malloc()

A deep dive into the original malloc() implementation from Unix Version 4 (1973), exploring how Ken Thompson and colleagues handled memory allocation with a simple linear allocator that called sbrk() in chunks of 2000 bytes when needed. The author discovers the historical significance of reading such approachable, foundational code compared to modern memory management systems.

Background

Unix Version 4, released in November 1973, was a milestone where the kernel was largely written in C for the first time. A previously thought-lost tape of V4 was discovered just last year, reigniting interest in this foundational period of computing history.

Source
Lobsters
Published
Nov 2, 2026 at 04:46 PM
Score
6.0 / 10