So, You Want to Use C++ Modules … Cross-Platform?
summary
Claims that MSVC is production-ready for modules while clang and GCC lag get backed by concrete tests: a client–server demo of only modules (using arcpass and SDL) compiles with MSVC and required many clang fixes that land in LLVM 17, CMake support is experimental and requires module dependency scanning with Ninja or MSBuild, and a self-built modularized standard library cuts API-availability from ~2s to 15ms. Real-world use drops full-build times reported from ~20 minutes to ~1 minute, with caveats about ADL, header units, and global-module-fragment quirks.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:53Introduction to Modules
- 7:15Module Vocabulary
- 12:10Module Linkage
- 14:50Other Modules
- 17:20Compilers
- 20:10File Extensions
- 22:40New to Modules
- 27:20Unit Testing
- 30:10Other Considerations
- 33:00Build Systems
- 38:00Module dependencies
- 43:00Module structure
- 51:45Conclusion
related talks
01h 00mSo, you want to use C++ Modules ... cross-platform?
34mPractical C++20 Modules and the future of tooling around C++ Modules
58mKnockin' on Header's Door: An Overview of C++ Modules
01h 28m2024 Update: C++ Modules - C++ Developers Get Started Today!
26mC++ Modules Myth Busting
01h 30mC++ Modules and Large-Scale Development
01h 08mC++ MythBusters Strike 2
01h 11mA Practical Introduction to C++20's Modules
