~/talk

A (Short) Tour of C++ Modules

Talkat CppCon 2021 · on Thursday, 2021-10-28· at 10:30· online· [frontend-architecture]
slides:none on file

Shows how C++ modules work in practice: the distinction between a primary module interface and separate implementation units, the purpose of the global module fragment, and exactly when export makes declarations visible. Explains how compilers save a compilation-state index so clients can consume prebuilt module interfaces instead of reparsing headers (reducing rebuild work), and walks migration pitfalls (templates, linkage, header-only libraries), current toolchain support (MSVC/Clang/GCC experimental), and end-to-end examples.

AI-written summary · about

  1. 0:00C++ modules intro
  2. 6:14Compilation issues solved
  3. 13:10Module design benefits
  4. 20:44Interface visibility
  5. 28:25Strong ownership model
  6. 35:00Performance impact
  7. 41:15Compilation times
  8. 47:13Adoption factors
  9. 52:46Summary
~/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.