~/talk

Knockin' on Header's Door: An Overview of C++ Modules

slides:none on file

C++20 modules are now usable but messy: named modules, header units, global fragments and module partitions compile on GCC 15, Clang and MSVC in the tested Fedora toolchain, but private module fragments fail on GCC and header units are flaky on Clang. Importing the standard library via import std works across compilers and gives the biggest compile-time win; built module interfaces (BMIs) speed builds but BMIs are non-portable between compilers and require CMake 3.28/Ninja or custom dependency-manager work to build and ship.

AI-written summary · about

  1. 0:00C++ modules state
  2. 7:46Header file problems
  3. 13:17C++ modules overview
  4. 17:28Module unit types
  5. 20:58Header units limits
  6. 23:01Standard library modules
  7. 28:55Compile time comparison
  8. 33:07Compiler support
  9. 39:45Build system needs
  10. 44:34Dependency management
  11. 47:49Adopting modules
  12. 50:14Future of modules
  13. 54:43Should you use modules?
  14. 55:08Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.