20 years of extending C++: What can we learn?
summary
Twenty years of C++ extensions power a UI-first C++ Builder: concrete features are properties (using the __property keyword that maps reads/writes to fields or methods), runtime reflection that embeds type metadata into the binary but only for a TObject-rooted subset (RTTI for TObject subset), meta-classes that enable virtual construction from names and packages, and an object-oriented method pointer called a closure used for streamed event bindings; it runs in an Embarcadero clang branch and it works in production UI tooling.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:26Extending C++
- 3:28History, circa 1999
- 10:13Properties -examine
- 15:17Runtime reflection & RTTI: the goal
- 22:432. Runtime reflection & RTTI - to metaclasses
- 24:222. Runtime reflection & RTTI examination
- 30:423. Metaclasses & virtual constructors
- 34:353. Metaclasses examination
- 38:09Object-oriented method pointers: examination
- 39:30C-Builder's Language Extensions
related talks
02h 02mPeering forward: C++'s next decade
01h 37mPeering Forward - C++’s Next Decade
01h 38mC++20: Reaching for the Aims of C++
01h 00mC++20 - the hidden pearls
01h 03mUnlocking the value of C++20
01h 39mKeynote - C++ Metaprogramming: evolution and future direction
59mC++20: the small things
58mLeveraging C++20/23 Features for Low Level Interactions
