~/talk

Building Modules

Talkat CppCon 2019 · 2019-09-15..09-20· [developer-experience, software-architecture]
links:none on file
slides:none on file

Explains three concrete build strategies—textual modules, implicit build, and explicit build—and measures their trade-offs: modules trade serialization for deduplication, adding synchronization and BMI caching overhead but enabling reuse across translation units. Presents a pre-scan tool that produces a full module build graph in seconds (3 s for LLVM/Clang: ~7,000 files, 3.8M LOC on an 18-core iMac Pro), shows when BMI generation or header-units emit .o artifacts, and gives concrete mapping and invalidation solutions.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10What are modules
  3. 7:54Module translation units
  4. 13:54Dependency problem
  5. 25:47Build strategies
  6. 32:10Mapping problem
  7. 43:42Q&A part 1
  8. 57:24Q&A part 2
  9. 1:03:00Conclusion
~/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.