Skip to content
Opensource internals
  • Posts

Memory model

Go's Atomics and the Memory Model: What sync/atomic Actually Guarantees

Oct 21, 2026 18 min read Jay Hubbert

sync/atomic is sequentially consistent, the typed wrappers (Int64, Pointer[T]) exist to stop you shooting yourself in the foot, and on amd64 everything bottoms out in LOCK CMPXCHG …

GoInternalsAtomicsMemory modelConcurrency

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·