#Concurrency

2 articles

Lock-Free Queue Implementations Compared: Correctness, Performance, and the Bugs You'll Ship

A `std::mutex`-protected `std::deque` is 12% faster than moodycamel::ConcurrentQueue when contention is low.

Modern C++ // dev Apr 20, 2026 12 min read

Cache-Line Archaeology: Finding and Fixing False Sharing in Production

False sharing is a measurable, fixable performance bug that hides in struct layouts. Two atomic counters in the same cache line can cost you 6x throughput — and perf c2c finds it in seconds.

Modern C++ // dev Apr 19, 2026 9 min read