Explore a comprehensive case study on eliminating undefined behavior and Intel-specific assumptions in legacy C++ codebases. Learn why undefined behavior is problematic, especially when adding support for new platforms like Apple Silicon/ARM. Examine real-life bugs caused by undefined behavior and the common "it works on Intel" issue. Discover how purging undefined behavior can reduce maintenance costs and simplify cross-platform support. Gain insights into cultural and tooling initiatives, including the use of static analysis and clang sanitizers, to identify and address these issues. Benefit from the experience of Roth Michaels, a Principal Software Engineer at iZotope/Soundwide, as he shares strategies for improving code quality and portability in large-scale C++ projects.
Overview
Syllabus
Purging Undefined Behavior & Intel Assumptions in a Legacy C++ Codebase - Roth Michaels CppCon 2022
Taught by
CppCon