~/talk

Adventures with C++ Legacy Codebases: Tales of Incremental Improvement

slides:none on file

Three merged 20+ year C++ codebases total millions of lines and the concrete wins are specific: incremental rollout of ASan and UBSan and unit/regression tests finds real UB, clang-format and clang-tidy diff enforce style and deprecations only on changed lines, a dynamic DLL boundary reliably shares DSP code, and a brittle but effective static-lib workaround ships analytics. Expect false positives from sanitizers, lint-driven refactors to introduce bugs, and that copy‑paste works for tiny pure functions but breaks on change.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Legacy code challenges
  3. 3:28Common perceptions
  4. 7:42Modernizing risks
  5. 12:19Style guides with clang-format
  6. 15:29Static analysis and sanitizers
  7. 21:48Deprecating APIs
  8. 27:52clang-tidy for refactoring
  9. 32:29Sharing legacy code
  10. 36:0520-year-old code challenges
  11. 38:14DSP library sharing
  12. 41:23Copy-paste strategies
  13. 43:11Static library sharing
  14. 46:29Summary
~/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.