~/talk

Purging undefined behavior and Intel assumptions in Legacy Codebases

Talkat Meeting C++ 2025 · 2025-11-06..11-08· [security]
slides:none on file

Claim: removing undefined behavior and Intel assumptions cuts maintenance and makes new platforms tractable. Evidence: concrete bugs (UI glyphs corrupted after an Xcode update, a Windows‑update crash fixed before launch, flaky DSP regression failures) get diagnosed and fixed. Tools and changes: roll out clang‑tidy, run address sanitizer and UB sanitizer in CI, use thread sanitizer for threading bugs, add deprecation+warnings‑as‑errors for new code and a core‑guidelines rule. Result: test flakiness and many cross‑platform failures disappear and Apple Silicon support stabilizes.

AI-written summary · about

  1. 0:00Undefined behavior basics
  2. 2:26What is undefined behavior
  3. 7:17C++ behavior types
  4. 10:26Undefined behavior examples
  5. 14:35Legacy code and Intel assumptions
  6. 17:01Fixing undefined behavior challenges
  7. 19:48Xcode update breaks UI
  8. 23:36Windows update crashes plugin
  9. 28:58Non-deterministic test failures
  10. 33:56Cultural changes to prevent UB
  11. 38:09Tooling to detect UB
  12. 44:11Rolling out sanitizers
  13. 46:38Testing on Apple Silicon
  14. 49:26Lessons learned
  15. 51:16Q&A
~/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.