Memory Consistency Models: A Tutorial

33 tanelpoder 2 5/20/2025, 1:25:01 AM jamesbornholt.com ↗

Comments (2)

crvdgc · 2h 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 · 3h 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