~/talk

Towards Safety & Security in C++26

Talkat GOTO Copenhagen 2025 · 2025-09-29..10-03· [security]
slides:none on file

C++26 introduces concrete safety changes: the standard reclassifies some undefined reads as erroneous behavior (so compilers must diagnose rather than exploit them), expands constant evaluation so compilers act like interpreters to catch UB at compile time, adds standard library hardening that checks preconditions and can abort on invalid accesses (tests show hardened libs stop immediately on UB), and adopts P2900 contracts with epochs and configurable violation semantics (ignore/observe/enforce).

AI-written summary · about

  1. 0:00Intro
  2. 2:50Agenda
  3. 3:52Security & safety
  4. 9:18Safety in our code, or the lack thereof
  5. 17:52Constant evaluation
  6. 24:26New features in C++26
  7. 33:56Options for the future
  8. 34:31Summary
  9. 35:35Outro
~/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.