~/talk

Type-and-resource Safety in Modern C++

Talkat CppCon 2021 · on Monday, 2021-10-25· at 14:00· A) Aurora C/D, online· [security]
slides:none on file

Claims that complete type-and-resource safety is achievable in modern C++ by following the C++ Core Guidelines and enforcing a small set of rules with static analysis and minimal runtime support. The talk cites an existing Core Guidelines checker shipped with Microsoft Visual Studio, examples like gsl::span and not_null, and an owner annotation used to track ownership. Static analyzers catch dangling pointers, uninitialized values, range and invalidation errors in many practical cases, but some messy low‑level code still requires manual review.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Facts
  3. 0:44Static type checking
  4. 2:20Rules
  5. 3:06Safety Security
  6. 4:31CrossCore Guidelines
  7. 5:16What is not covered
  8. 6:10Fundamental ideas
  9. 7:39Static analysis
  10. 8:43Safety rules
  11. 9:36Stop scripting
  12. 10:56Resource management
  13. 11:48No dangling pointers
  14. 12:05The nightmare scenario
  15. 14:08Pointers are valid
  16. 16:06Dereferences
  17. 16:40Ownership
  18. 18:53Strong Recommendation
  19. 20:14Vector Implementation
  20. 21:23Classical Evaluation
  21. 22:11Invalidation
  22. 24:00Memory pools
  23. 25:24Tree graphs
  24. 26:11Tree pointers
  25. 27:28Null pointers
  26. 28:16Range checks
  27. 29:49Null pointer problems
  28. 31:18End pointers
  29. 34:27Concurrency
  30. 35:22Stability compatibility
  31. 37:00Core Guidelines
  32. 39:09Help
  33. 40:28Reading
  34. 41:05Overly complex code
  35. 42:50Using references
  36. 44:13Setting pointers to null
  37. 47:17Trusted Annotation
  38. 48:20Implicit Conversions
  39. 50:05Core Guideline
  40. 51:50Covariant Return Types
~/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.