~/talk

How Designing Carbon C++ Interop Taught me About C++ Variadics & Bound Members

Talkat CppNorth 2024 · 2024-07-21..07-24· [compilers-and-language-design]
slides:none on file

Carbon builds a definition‑checked generic model for C++ interop and already shows tangible momentum with 1,750 PRs merged and 121 new contributors while focusing on a real toolchain. For variadics it implements symbolic arities so the compiler rejects bodies that assume values that might not exist and forces fixes (for example, adding a required seed argument). For member binding it synthesizes constants and uses a bind-to-value interface plus adapters and call interface to unify fields, statics and methods into general callable bound members.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Carbon project update
  3. 2:24Variadics exploration
  4. 2:53C++ variadic challenges
  5. 6:39Carbon's approach
  6. 10:20Carbon syntax crash course
  7. 13:20Carbon variadic design
  8. 17:31Type checking packs
  9. 21:20Pattern matching
  10. 23:44Carbon model for safety
  11. 26:42Applying lessons to C++
  12. 29:15Member binding challenges
  13. 32:34Carbon interface system
  14. 36:57Implementing member binding
  15. 43:21Adapters and callables
  16. 45:06Generalizing the model
  17. 53:01Unified member model
  18. 58:42Conclusion and Q&A
~/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.