~/talk

Back to Basics: The Abstract Machine

Talkat CppCon 2020 · 2020-09-14..09-18· at 10:30· Back to Basics, online· [rust]
links:none on file
slides:none on file

Explains the concrete claim that C++ programs target a defined C++ abstract machine and that conforming implementations must match its observable behavior, not any specific CPU. Covers the as-if rule, the three behavior classes undefined/unspecified/implementation-defined, the flat byte-memory model, object lifetimes and storage durations, pointer rules including one-past-the-end, threads and interaction points, and how compilers/linkers (Clang/LLVM mentioned) translate abstract operations into machine code. Watch if understanding those concrete rules matters tonight.

AI-written summary · about

  1. 0:00Introduction
  2. 0:47Definitions
  3. 3:42Why Abstract Machines
  4. 4:17Computing Platforms
  5. 5:09Tools to Manage Complexity
  6. 5:58Performance Critical Software
  7. 7:49C
  8. 10:33C Abstract Machine
  9. 11:44Implementation
  10. 18:36Interactions
  11. 22:40Wellformed Program
  12. 23:16Implementation Defined Behavior
  13. 29:09Illformed
  14. 30:27Illformed No Diagnostic Required
  15. 31:18Abstract Machine Structure
  16. 32:03Memory
  17. 34:02Objects
  18. 39:53Storage Duration
  19. 41:05Static Storage Duration
  20. 42:32Static Storage Lifetime
  21. 43:44Threads
  22. 44:51Main
  23. 47:01Value Objects
  24. 49:59Functions
  25. 52:39Questions
~/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.