Practical C++20 Modules and the future of tooling around C++ Modules
summary
Shows concrete migration steps: replace includes with header units then convert to named module interfaces and finally split into module partitions; uses MSVC (post‑16.6 prerelease), VS Code and Python 3. Header units cut a demo compile from ~1.2s to ~0.1s, partitions speed rebuilds by building only changed partitions. Demonstrates applying header units to ImGui, and persisting compiler semantics as an IFC format to generate a Python ctypes FFI for SDL, IFCs are portable and will be open source.
AI-written summary · about
chapters (7)
- 0:00Introduction to C++ modules
- 1:32C++20 module types
- 7:03Header units migration
- 13:12Named module units
- 17:37Using module partitions
- 22:38Real-world project application
- 27:59Tooling and future outlook
related talks
01h 11mA Practical Introduction to C++20's Modules
58mKnockin' on Header's Door: An Overview of C++ Modules
01h 10m“C++ Modules: The State of The Union"
01h 00mSo, you want to use C++ Modules ... cross-platform?
01h 01mPractical C++ Modules
26mC++ Modules Myth Busting
36mC++ Modules: Year 2021
58mSo, You Want to Use C++ Modules … Cross-Platform?
