~/talk

C++20 Modules: The Packaging and Binary Redistribution Story

Talkat CppCon 2023 · on Monday, 2023-10-02· at 16:45· Cottonwood 8/9, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Shows concrete experiments with C++20 modules: packaging fmt with Conan, using CMake/Ninja dynamic dependency scanning, and trying to package binary module interface (BMI) vs ship module interface source. Reports that clang and MSVC require strict matching flags and paths while GCC is looser, that BMI distribution breaks cross-compiler reuse, and that CMake + Ninja now support scanning to derive build order. Recommendation: prefer to generate BMI locally and treat prebuilt BMIs as fragile until toolchain compatibility improves.

AI-written summary · about

  1. 0:00C++20 modules overview
  2. 1:05Why use modules vs includes
  3. 5:40Modules vs traditional includes
  4. 7:28How C++20 modules work
  5. 10:57Build order with modules
  6. 14:51Module dependencies and DAGs
  7. 17:45Compiler scanning for modules
  8. 21:35Packaging modules: no approach
  9. 22:18Packaging binary module interfaces
  10. 31:55Shipping module interface source
  11. 37:20Challenges in module libraries
  12. 44:01BMI compatibility issues
  13. 51:08Multiple BMI variants needed
  14. 55:44Current library module support
  15. 57:29Package managers and modules
  16. 1:01:01Module packaging future
~/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.