~/talk

Plenary: Cooperative C++ Evolution - Toward a Typescript for C++

Talkat CppCon 2023 · on Thursday, 2023-10-05· at 10:30· Adams, 6700 North Gaylord Rockies Boulevard· [rust]
slides:none on file

An experimental compiler, cppfront, transpiles a new C++-style syntax into standard C++ and already demonstrates concrete results: bounds-checked subscripts and null/bound diagnostics by default, guaranteed initialization, contracts, const-by-default and make_unique-for-new, named loop labels, safer enums and unions, flag enums and generated members. The work compiles with GCC/Clang/MSVC, integrates with debuggers and toolchains, and feeds proposals into ISO C++, claiming 10x simpler, 50x safer (98% fewer reported vulnerabilities) while preserving seamless interop.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Keynote agenda
  3. 1:32C++ experiment goals
  4. 3:50Important themes
  5. 6:28Cppfront implementation
  6. 9:31New features and trade-offs
  7. 13:11Safety and efficiency
  8. 16:13Metaclasses in Cppfront
  9. 18:52Metaclass functionality
  10. 23:23Metaclass examples
  11. 26:03Enum and flag types
  12. 29:42Metaclass code deep dive
  13. 33:53User-defined meta functions
  14. 36:41Union meta function
  15. 39:15Strategy and compatibility
  16. 44:00Adoption challenges
  17. 47:21Lessons from JS and Dart
  18. 50:22The TypeScript plan
  19. 53:28Lessons from Python 3
  20. 56:50C++ compatibility history
  21. 1:00:15Guido on Python 3
  22. 1:05:54Breaking change costs
  23. 1:08:44Three options for evolution
  24. 1:12:07The typescript plan for C++
  25. 1:15:15Costs of the typescript plan
  26. 1:18:53Naming and keywords
  27. 1:21:07Cppfront demo
  28. 1:25:22Debugging demo
  29. 1:28:28Tooling compatibility
  30. 1:32:37Conclusion
~/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.