Tag: Concurrency
All the articles with the tag "Concurrency".
-
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.