~/talk

What C++ Needs to be Safe

Talkat ACCU 2025 · 2025-04-01..04-04· [software-architecture]
slides:none on file

Proposes making C++ safe by adding concrete tools: Contracts MVP in C++26 with runtime and symbolic assertions that catch ~65% of common errors (bounds checks), an erroneous‑behavior regime that prevents uninitialized‑read and signed‑overflow exploits, and ghost data (research toward C++32) to enforce exclusivity at runtime; Bloomberg prototypes features in Clang/GCC, already landed trivial relocation in the standard, and reports long‑term production use and iterative prototyping rather than one‑off edits.

AI-written summary · about

  1. 0:00C++ safety initiative intro
  2. 1:12Motivation for safer C++
  3. 3:03Three pillars of C++ improvement
  4. 8:01History of C++ contracts
  5. 16:10Defining memory safety
  6. 20:01Correctness vs security
  7. 22:26Runtime contracts in C++26
  8. 28:25Future C++ safety features
  9. 31:39Erroneous behavior hardening
  10. 35:14Symbolic contract assertions
  11. 38:29Safety profiles and subsets
  12. 40:56Compile-time exclusivity
  13. 43:48Runtime exclusivity with ghost data
  14. 50:57Max safety techniques
  15. 51:42Compiler and ecosystem health
  16. 53:30Allocator improvements
  17. 55:20Trivial relocation in practice
  18. 59:36Summary and roadmap
  19. 1:07:16Future plans and community
  20. 1:12:34Q&A on ghost data
  21. 1:22:46Constification and contract safety
~/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.