~/talk

Adding C++ modules-ts to the GNU Compiler

Talkat CppCon 2017 · 2017-09-24..09-29· [compilers-and-language-design]
links:none on file
slides:none on file

Implements the Modules TS inside GCC by producing a serialized front‑end AST as a Binary Module Interface (BMI) cache rather than reparsing headers, adds a new module linkage class (module‑local vs external) mapped into mangled ELF symbols, and changes name lookup using per‑module bitmaps and inline‑namespace tricks. Free functions and many class features work; templates, full class members, enums and build‑system BMI discovery are unfinished. Not planned for GCC 8; BMI format is compiler‑version sensitive.

AI-written summary · about

  1. 0:00C++ Modules
  2. 4:04Modules TS Goals
  3. 5:36Semantics & Syntax
  4. 6:52Module Interface
  5. 9:02Module Implementation
  6. 15:17Source Files and Build Artifacts
  7. 18:35GCC Development
  8. 21:36Lookup
  9. 22:12Initial Thought
  10. 25:49Module Representation
  11. 27:41Binary Representation
  12. 30:14Streaming
  13. 32:32Application Binary Interface
  14. 33:27What Should Work?
  15. 40:02Binary Module Files • Module Foo's binary module is needed for
  16. 42:37What Works? (mid 2017)
  17. 43:52To Do
  18. 54:54Imports and Exports • Modules can import other modules
~/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.