Memory Ordering in CPUs

10 pointsposted 10 hours ago
by matt_d

1 Comments

AbbeFaria

11 minutes ago

As a measly backend programmer, I only have a good mental model of a “lock”, think a sync.Mutex in Golang.

But I wanted to go deeper into the rabbit hole and understand concepts like memory ordering and how atomic operations are actually implemented using the abstractions hw provides.

Any book recommendations or exercises I could do to learn more about this. Thanks.