~/talk

Dynamic Polymorphism With Code Injection and Metaclasses

name:Sy Brand
slides:none on file

Argues that C++ dynamic polymorphism can be implemented without inheritance by generating type-erasure vtables and forwarding code via compile-time code injection, backed by a Clang fork prototype that uses experimental static reflection and metaclasses. Builds a templated "type-class" facade that auto-generates function-pointer vtables, copy/move/clone logic, and customizable storage policies (including small-buffer optimization) so objects keep value semantics, avoid intrusive base classes, support vectors of heterogeneous values, and let allocation strategy be chosen; the prototype works end-to-end.

AI-written summary · about

  1. 0:00Start
  2. 2:16Dynamic Allocation
  3. 8:00Hand-written virtual functions
  4. 56:42Concerns
~/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.