1. Concurrency Programming (12): Finale — Series Summary

    A look back at concurrency correctness, shared memory and message passing, and the five-layer view connecting concurrency tools to hardware.

  2. Concurrency Programming (11): Shared Memory and Message Passing — How They Work Together

    Explores how channels and queues synchronize shared state internally, and how shared memory and message passing work together in a task-processing system.

  3. Concurrency Programming (10): How BlockingQueue and Channels Work — From Runtime to CPU

    Examines how Java ArrayBlockingQueue, Go channels, and CPython queue.Queue protect queue state, transfer messages, and coordinate waiting and wakeups.

  4. Concurrency Programming (9): BlockingQueue and Channels — Atomicity, Visibility, and Ordering

    From producer–consumer handoffs to Java BlockingQueue, Go channels, and CPython queue.Queue, this article examines the atomicity and memory-ordering guarantees of message passing.

  5. Concurrency Programming (8): Read-Write Locks — From Language Rules to the CPU

    Uses the same counter and counter + ready examples to trace read-write locks from Java language-level rules through the JDK, HotSpot, and x86-64, explaining Atomicity, Visibility, Ordering, and the boundary with Mutex.

  6. Concurrency Programming (1): Start with the Hardware — From count++ to Atomicity, Visibility, and Ordering

    Starting from the von Neumann architecture and instruction execution, this article follows count++ down to the hardware-level problems of atomicity, visibility, and ordering.

  7. Concurrency Programming (2): Language Memory Models — Rules Programmers Can Rely On

    Moves from hardware memory models back to the language layer: why languages need their own concurrency semantics, and what Java, Go, and CPython guarantee to concurrent programs.

  8. Concurrency Programming (0): The Problem Space and Scope

    Defines the scope as concurrency within a single process on a single machine, then connects shared variables, shared memory, message passing, language concurrency semantics, and hardware implementation.

  9. Concurrency Programming (7): volatile — From Language Semantics to the CPU

    Uses the counter + ready example to trace Java volatile from the Java Memory Model through HotSpot to x86-64, showing how visibility and ordering are defined and implemented, and how volatile differs from atomics and mutexes.

  10. Concurrency Programming (5): Atomics — Atomicity, Visibility, and Ordering at the Language Level

    Continues with counter and ready to explain the language-level rules behind Java AtomicInteger, Go sync/atomic, and CPython's application-level Atomic boundary.

  11. Concurrency Programming (3): Mutexes — Atomicity, Visibility, and Ordering at the Language Level

    Continues with counter++ to explain how mutexes provide atomicity, visibility, and ordering, then compares Java synchronized, Go sync.Mutex, and CPython threading.Lock.

  12. Concurrency Programming (6): How Atomic Operations Are Implemented — From Runtime to CPU

    Traces the implementation paths of Java AtomicInteger, Go sync/atomic, and CPython's internal atomic operations to show how atomic RMW, CAS, and memory ordering reach the CPU.