~/talk

Processor Design and C++ Memory Models

Talkat Core C++ 2026 · 2026-10-20..10-21· [c-and-cpp, concurrency]
links:none on file
slides:none on file

Shows how real CPUs produce the counterintuitive behaviors behind C++ atomics by walking cache coherence, store buffers and invalidation queues, in-processor load/store queues and speculative execution, and by tracing a toy message‑passing and a load‑buffering example that actually reorders visibility on ARM but not x86. Explains fence meanings, contrasts x86’s locked/serializing RMWs with ARM load-exclusive/store-exclusive loops, and ties those to C++’s axiomatic C++ model and herd‑style tools and to ongoing research that fixes the classic thin‑air/load‑buffering hole.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:52Memory visibility between cores
  3. 8:00Cache coherence challenges
  4. 13:57Out-of-order execution effects
  5. 20:35CPU pipeline and memory ops
  6. 27:15Speculative execution risks
  7. 31:39Memory ordering solutions
  8. 37:52C++ atomics and fences
  9. 41:51Atomic operations in hardware
  10. 47:34C++ memory model overview
  11. 55:21Formalizing memory models
  12. 58:44Summary and takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.