The Plight of the Misunderstood Memory Ordering
Jul 08, 2025The plight of the misunderstood memory ordering. Interesting article that explains a common misunderstanding about the purpose of memory ordering when using atomics. The point of the article is that memory ordering is not about the atomic value being shared across threads, but about what to expect to happen around the atomic value being accessed. The purpose is to synchronize the relative ordering between atomic accesses made to one atomic value with memory accesses made to any other value.