~/talk

“There and Back Again: An Incremental C++ Modules Design"

Talkat CppCon 2016 · 2016-09-18..09-23· [compilers-and-language-design]
links:none on file
slides:none on file

Clang implements an incremental modules workflow that compiles modular headers into PCM/AST blobs, uses module maps to map headers to modules, and yields 10–50% faster average compile times for deployed Google sources where ~10% of headers are modularized. The design proposes C++ Modules TS syntax plus an export macros opt‑in to carry include‑guard macros, an import legacy mode that synthesizes stable modules for third‑party headers, and a path to rewrite headers into true module interface units.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:04Talk overview and goals
  3. 1:46Why incremental modules design matters
  4. 4:16What are C++ modules?
  5. 7:27C++'s existing module system
  6. 11:13How clang implements modules
  7. 17:36Production use of clang modules
  8. 19:46Challenges in module implementation
  9. 23:40Goals beyond compile-time speed
  10. 26:50Modules TS syntax overview
  11. 31:07Incremental transition to modules TS
  12. 35:39Combining clang modules and TS approach
  13. 40:51Handling non-modular libraries
  14. 44:52Proposal for C++ committee
  15. 46:24Q&A session begins
  16. 51:43Modules as architecture vs optimization
  17. 53:30Implementation vs interface separation
  18. 55:17Modules and name lookup
  19. 56:43Nested modules and hierarchy
  20. 57:45Closing remarks and summary
~/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.