~/talk

The C++ Execution Model

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [rust]
slides:none on file

C++ defines a platform‑agnostic abstract machine with flat storage and threads whose evaluations are ordered by sequenced before, synchronizes with and ultimately happens before. The talk shows concrete consequences: nonatomic conflicting accesses yield a data race and undefined behavior; atomics and acquire/release create synchronizes‑with chains that guarantee visibility; a bounded thread‑pool with one worker deadlocks unless wait loops steal and run tasks (boost‑blocking fix demonstrated). It also covers forward‑progress classes and when relaxed atomics are or aren’t sufficient.

AI-written summary · about

  1. 0:00Introduction
  2. 1:58The abstract machine
  3. 4:36Storage and memory model
  4. 9:25Thread evaluation
  5. 22:57Sequencing and synchronization
  6. 30:40Forward progress guarantees
  7. 47:46Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.