~/talk

C++ Modules

Talkat CppCon 2018 · 2018-09-23..09-28· [c-and-cpp, compilers-and-language-design]
links:none on file
slides:none on file

Implementation in GCC produces object files plus a binary module interface (BMI) and uses -fmodules-ts to read serialized interfaces; an experimental -fmodules-atom supports legacy header units and partitions that keep implementation private while exposing incomplete types. Global module pruning shrinks BMI bytes to kilobytes in practice. Build-order and dependency discovery become a real challenge (modules force ordered BMI generation), but Google/Clang experiments report roughly 2–4x compile-speed wins on the worst 10% of headers.

AI-written summary · about

  1. 0:00Introduction
  2. 3:44Module Declaration
  3. 6:17One for One Files
  4. 7:13Build Speed
  5. 11:05Global Modules
  6. 13:07Building Modules
  7. 16:05Modular Header Files
  8. 17:25Atom Proposal
  9. 18:06Legacy Headers
  10. 20:43Modular Partitions
  11. 27:15TS
  12. 29:22Global Module Pruning
  13. 31:40Drive Compiler
  14. 33:05Adam
  15. 56:13Chandler
  16. 57:15John Lagos
~/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.