Bookmarks

Who needs malloc anyways?

Live-coded session that implements a bump allocator from scratch, demonstrates eliminating dynamic malloc calls during module initialization, and refactors dependent modules to use the custom allocator.

How a Clever 1960s Memory Trick Changed Computing

Historical and technical tour of virtual memory—paging, MMUs and TLBs—from the Atlas supercomputer to modern x86/ARM/RISC-V, detailing how hardware and OS cooperate to enable multitasking and locality-driven performance.

Visualizing memory layout of Rust's data types

A detailed tutorial that walks through binary loading, stack and heap operation, and the exact in-memory layout of Rust primitives, structs, enums, and smart pointers—illustrating how the Rust compiler represents and optimizes each data type.

Subcategories