the lost malloc() - gardenweb
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
A tape containing the long-lost fourth edition of Unix, released in November 1973, was discovered last year in a Bell Labs storage room, resolving the belief that the source had been lost to time. The recovered code shows that Unix V4 was largely written in early C, including most of its kernel, and that memory allocation was handled by a simple linear allocator in the C object-code improver that extended the heap via sbrk() and exited on failure rather than returning NULL. Dennis Ritchie's directory also contains an early malloc.c implementing malloc() and mfree() around a map structure of size and address fields, the recognizable ancestor of today's allocator interfaces. The find matters because it gives developers a rare, approachable window into how foundational Unix primitives were first implemented, before modern complexity set in. What to watch next is further study of the recovered V4 sources, particularly the OS design and architecture, which the author plans to explore in future writing.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
Unix, C programming language, Bell Labs, PDP-11, Rob Ricci