~/talk

C++ Reflection Based Libraries to Look Forward To

Talkat CppCon 2024 · on Tuesday, 2024-09-17· at 09:00· Maple 3/4/5, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Reflection proposal already has working compiler implementations (EDG and a Bloomberg clang fork) and the talk shows three concrete libraries prototyped on a laptop that compile and run: automatic Python bindings that loop public members and expose methods with customizations, a configurable ABI hashing scheme that walks layouts, offsets and bitfields to produce compatibility hashes, and a runtime-erased virtual any that supports attribute access and method calls (uses RTTI by default, compiles and works but is slower and needs careful lifetime and cast handling).

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Motivation for reflection
  3. 3:12Reflection vs metaprogramming
  4. 5:21Reflection in Python Go Java
  5. 8:11P2996 reflection progress
  6. 10:21Key features of P2996
  7. 13:57Reflection impact on C++
  8. 17:50Building reflection libraries
  9. 20:22Python bindings automation
  10. 26:07ABI hashing with reflection
  11. 36:57Virtual any with reflection
  12. 54:52Current practices without reflection
  13. 57:00Conclusion and future
  14. 57:20Q&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.