~/lightning

Lightning Talk: Quantum Interpretations of the C++ Object Model

Lightningat CppCon 2021 · on Sunday, 2021-10-24· [web-performance]
links:none on file
slides:none on file

Claims that many pre-C++20 idioms are truly undefined because raw memory lacks objects and that C++20’s implicit-lifetime types fixes some of that, enabling implementations like vector. Uses concrete code: pointer casts, allocator patterns, reinterpret_cast, memcpy, and bit_cast to show which operations start lifetimes. Demonstrates a “Schrödinger’s cat” array-of-bytes example with a hardware random branch and argues UB can destroy the abstract machine, spawning an infinite number of program states.

AI-written summary · about

  1. 0:00Start
  2. 0:31The Basics
  3. 0:53Construction vs. assignment
  4. 3:15The Copenhagen Interpretation
  5. 3:50The Many Programs Interpretation
  6. 4:39Schrödinger's cat
  7. 5:22What can start a lifetime
~/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.