~/talk

Programming with C++ Modules: Guide for the Working

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

Modules become first-class in C++20 and promise big compile-time wins: the compiler writes a binary module description so modules compile once and reuse metadata, cutting repeated header parsing and giving up to an order-of-magnitude speedups in tests. Strategies include module interfaces, implementation units, partitions, global module fragments to wrap messy C headers, and header units as a standardized PCH. Implementations exist in MSVC/Clang/GCC branches; tooling and build-order support still need work.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Challenges
  3. 4:00Progress
  4. 6:35What did we get
  5. 10:20How does it work
  6. 13:35Compiler Firewall
  7. 16:40Modules
  8. 28:55Module Aggregation
  9. 30:35Global Fragments
  10. 34:15Conditional Tools
  11. 36:00Header Files
  12. 40:35When to use Header Units
  13. 42:35Macros and Header Units
  14. 46:45Source File Organization
  15. 48:25Build System
  16. 49:40Download C Modules
  17. 50:50Upcoming Modules Talks
  18. 52:20Build Time Improvements
~/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.