~/talk

Lifetime Safety in C++: Past, Present and Future

Talkat CppCon 2023 · on Monday, 2023-10-02· at 11:00· Adams, 6700 North Gaylord Rockies Boulevard· [rust, security]
links:none on file
slides:none on file

C++ is getting concrete safety gains: C++23 lifetime rules change temporary lifetime extension to eliminate some dangling references, compilers (MSVC, Clang, GCC) emit statement‑local lifetime warnings, and sanitizers catch many temporal bugs. Static tools like the Clang Static Analyzer and MSVC static analysis find use‑after‑free and use‑after‑move issues and print traces. An experimental kbit borrow‑checker reimplementation and runtime checks complement static work. Reported numbers show about 70% memory‑safety involvement in vulnerabilities at Microsoft.

AI-written summary · about

  1. 0:00Introduction
  2. 3:16Memory safety in C++
  3. 7:37Memory safety approaches
  4. 15:34C++ safety changes
  5. 21:03Temporal safety tools
  6. 30:17Data flow analysis
  7. 41:00Future of C++ safety
  8. 53:54Is C++ safer?
  9. 56:24Q&A annotations
  10. 59:14Q&A compile-time vs runtime
  11. 1:00:41Q&A borrowing rules
~/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.