~/talk

A Path to Practically Safe C++

Talkat C++Now 2026 · 2026-05-04..05-08· [security]
links:none on file
slides:none on file

Google proposes a compiler-enforced spatial safety mode that bounds-checks static arrays, bans unchecked pointer arithmetic, and pushes spanification; Clang warnings and thousands of automated PRs already spanify code and a unique_array wrapper replaces unique_ptr<T[]> for sized allocations. A new lifetime safety analysis (Clang/clang-tidy) uses Polonius-style points-to and invalidation summaries, finds real bugs, and helps infer annotations; one project reports ~35% fewer null-dereference crashes, protobuf bounds checking costs ~0.3% on average.

AI-written summary · about

  1. 0:00Introduction
  2. 3:35Memory safety in C++
  3. 8:49Spatial safety definition
  4. 13:19Compiler modes for safety
  5. 28:23Temporal safety challenges
  6. 41:53Lifetime safety in Clang
  7. 56:40Null pointer safety
  8. 1:06:51Nullability contracts at scale
  9. 1:17:37Dynamic tools for safety
  10. 1:20:46AI in safe C++ migration
  11. 1:21:49Conclusion
~/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.