~/talk

When Abstractions Fix Too Much - Towards Flexible Library Design

Talkat C++Now 2026 · 2026-05-04..05-08· [software-architecture]
links:none on file
slides:none on file

Argues that policy-based library design turns fixed decisions (storage, dispatch, semantics) into interchangeable policies and shows a working proof in a real any_view implementation. Implements in-place storage, allocator and small-buffer policies, a unified dispatch via bridge/thunks, and external witness table value templates; composes capabilities with iface/compose into an existential type. Delivers concrete optimizations: single-dispatch upcast conversion instead of double indirection, const-conversion and iterator-witness separation, and practical consteval/ABI tradeoffs — the techniques compile and measurably remove dispatch overhead.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Abstraction tension in libraries
  3. 8:58Type erasure techniques
  4. 14:43Dispatch fundamentals
  5. 21:52Storage policies trade-offs
  6. 33:15Witness tables and existentials
  7. 53:01Existential types in practice
  8. 1:03:23Optimizations in any view
  9. 1:23:07Closing thoughts
~/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.