A Short Tour of C++ Modules - Modules Demystified and Applied
summary
The talk explains how C++ Modules replace header files by separating module interface and implementation units, and by marking exported versus non-exported entities. It covers required compiler and build-system support, presents case studies showing large compile-time speedups and simpler dependency graphs from converting projects, and warns about cross-toolchain and per-platform issues such as template instantiation, inline/local definitions, and dual-mode library behavior that need testing and fixes.
AI-written summary · about
chapters (13)
- 0:00C++ modules intro
- 1:07What are modules
- 3:18Interface vs implementation
- 10:00Module design & exports
- 14:02Composing modules
- 20:49Visibility & lookup
- 27:15Module semantics
- 34:16Practical benefits
- 40:12Case study: library integration
- 46:31Templates & imports
- 51:52Local functions
- 56:35Performance impact
- 1:00:06Q&A
related talks
01h 01mModules the Beginner's Guide
01h 05mModules are coming
01h 06mImplementing C++ Modules: Lessons Learned, Lessons Abandoned
01h 08mC++20 Modules, 5 Years Later
01h 07mC++20 Modules: The Packaging and Binary Redistribution Story
05mC++ Modules and Packages: Making Dreams Come True
01h 20mDealing with software dependencies
44mCompilation Speedup Using C++ Modules: A Case Study
