Memory ordering of atomics in Rust and Go

I&rsquo;ve been reading Rust Atomics and Locks by Mara Bos . If you&rsquo;re into low-level concurrency primitives, it&rsquo;s a great book. The rest of you can leave now 🙃 Memory ordering is a place where Rust and Go diverge, and I think it&rsquo;s illustrative of the difference in language philosophy. Rust provides a selection of memory orderings per atomic variable operation, whereas Go…