DEV Community

Concurrency Series' Articles

Back to Ajinkya Singh's Series
Understanding C++ Threads: Data Races Explained Down to the Assembly
Cover image for Understanding C++ Threads: Data Races Explained Down to the Assembly

Understanding C++ Threads: Data Races Explained Down to the Assembly

Comments
6 min read
C++ Multithreading: Why -O2 Deletes Your Loops and How std::atomic Fixes It
Cover image for C++ Multithreading: Why -O2 Deletes Your Loops and How std::atomic Fixes It

C++ Multithreading: Why -O2 Deletes Your Loops and How std::atomic Fixes It

1
Comments
7 min read
How CPUs and Memory Actually Work: Bytes, Addresses, and Latency
Cover image for How CPUs and Memory Actually Work: Bytes, Addresses, and Latency

How CPUs and Memory Actually Work: Bytes, Addresses, and Latency

Comments
5 min read
The Hardware Memory Hierarchy: From L1 Caches to Main RAM
Cover image for The Hardware Memory Hierarchy: From L1 Caches to Main RAM

The Hardware Memory Hierarchy: From L1 Caches to Main RAM

Comments
4 min read
The 64-Byte Truck: Cache Lines Explained
Cover image for The 64-Byte Truck: Cache Lines Explained

The 64-Byte Truck: Cache Lines Explained

Comments
4 min read
Multi-Core Cache Coherency: The Invisible Lock You Never Wrote
Cover image for Multi-Core Cache Coherency: The Invisible Lock You Never Wrote

Multi-Core Cache Coherency: The Invisible Lock You Never Wrote

Comments
6 min read
False Sharing, Measured: Two Threads, Zero Shared Variables, Still Slow
Cover image for False Sharing, Measured: Two Threads, Zero Shared Variables, Still Slow

False Sharing, Measured: Two Threads, Zero Shared Variables, Still Slow

1
Comments
8 min read
Load Balancing in C++ Multithreading: Why Equal Splits Aren't Equal Work
Cover image for Load Balancing in C++ Multithreading: Why Equal Splits Aren't Equal Work

Load Balancing in C++ Multithreading: Why Equal Splits Aren't Equal Work

1
Comments 1
8 min read
Pull, Don't Push: Fixing Load Imbalance with a Shared Task Queue
Cover image for Pull, Don't Push: Fixing Load Imbalance with a Shared Task Queue

Pull, Don't Push: Fixing Load Imbalance with a Shared Task Queue

Comments
7 min read