Memory Consistency Models: A Tutorial(jamesbornholt.com)
33 points by tanelpoder 5 hours ago | 2 comments
crvdgc 2 hours ago
Here's a tool suite to simulate and run memory model litmus tests (on real hardware): https://github.com/herd/herdtools7

The simulation tool can also generate relation graphs similar to those of the blog.

mplanchard 3 hours ago
I have always found this hard to reason about. This was a nice primer! I also like the rustonomicon’s treatment of the subject: https://doc.rust-lang.org/nomicon/atomics.html