Posts
All the articles I've posted.
-
Work-Stealing Deque Part 2: Memory Ordering
Moving beyond locks requires understanding how CPUs reorder instructions. We explore atomics, acquire/release semantics, and the illusion of sequential execution.
-
Work-Stealing Deque Part 1: The Problem with Locks
Why a central task queue becomes a bottleneck, how false sharing kills performance, and building a baseline implementation with locks.
-
Memory Magic Part 4: The Infinite Buffer
Using virtual memory to create a seamless ring buffer with no wrap-around logic.
-
Memory Magic Part 3: The Specialist's Toolkit
Building specialized allocators: free lists, packed arrays, and slot maps with generational handles.