~/talk

Proxy: Next Generation Polymorphism

Talkat Pure Virtual C++ 2025 · on Wednesday, 2025-04-30· [c-and-cpp]
links:none on file
slides:none on file

Proxy is an open-source header-only C++20 library that replaces inheritance with pointer-based polymorphic wrappers, using GC-like pointer-based lifetime management without a garbage collector. It offers make_proxy / make_proxy_shared, proxy view and weak proxy semantics, and a tiny fmt integration header. Benchmarks claim up to 300% faster on MSVC for small objects versus virtual functions and mixed results on ARM and Apple compilers. The library is deployed in Windows production since 2022 and lives at github.com/microsoft/proxy.

AI-written summary · about

  1. 0:00Proxy library intro
  2. 3:17Motivation for next-gen polymorphism
  3. 6:10Library overview
  4. 10:10Benchmarking performance
  5. 13:02Core Proxy concepts
  6. 18:03Proxy types defined
  7. 22:03Creating Proxy objects
  8. 24:17Dispatch prototypes and macros
  9. 27:09Proxy 4 features
  10. 28:57Live demo
~/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.