Posts
All the articles I've posted.
-
Deque Dojo Part 2: Taming the Out-of-Order Monster
A deep but gentle dive into the heart of lock-free programming: atomics, race conditions, and the strange world of memory ordering. Meet the monster that reorders your code, and learn the magic words to tame it.
-
Deque Dojo Part 1: The Turnstile of Contention
Why a single shared queue is a performance trap, how cache lines become a battlefield, and how to build our first, simple deque with a lock, the correct but slow foundation for what comes next.
-
Memory Magic Part 4: The Infinite Buffer
What if you could write to a buffer and have it loop forever, with no branches, no checks, and no wrap-around logic?
-
Memory Magic Part 3: The Specialist's Toolkit
What if your allocator could recycle like a pro, pack for cache, perfect loops, and deliver unbreakable handles, without leaks or dangling pointers?