C++ Modules Myth Busting
summary
Demos show three concrete wins: strong ownership lets the linker disambiguate two module definitions (answer() = 42 vs 41) and supports a linker-switch to disable weak-fallback; include translation rewrites #include to header-unit imports and is used with MSVC header units and IFC files to avoid ODR errors; practical builds with CMake + Ninja show a single-file rebuild dropping from 1.3s to 0.11s (~10x), Office migration reports ~20% end-to-end speedup and IFCs ~10x smaller than PCH.
AI-written summary · about
chapters (4)
- 0:00Introduction to c++ modules
- 1:24Understanding strong ownership
- 10:30Fixing include and import
- 17:24Modules and build performance
related talks
34mPractical C++20 Modules and the future of tooling around C++ Modules
01h 08mC++ MythBusters Strike 2
58mSo, You Want to Use C++ Modules … Cross-Platform?
01h 00mSo, you want to use C++ Modules ... cross-platform?
01h 30mC++ Modules and Large-Scale Development
01h 07mBuilding C++ Modules
01h 01mPractical C++ Modules
58mKnockin' on Header's Door: An Overview of C++ Modules
