~/talk

“Open is Good - yomm2: Fast, Orthogonal Open Methods”

Talkat CppCon 2018 · 2018-09-23..09-28· [software-architecture]
links:none on file
slides:none on file

Library yomm2 implements open multi-methods as free functions that add polymorphic behavior to existing class hierarchies without modifying them, supporting multiple dispatch, multiple and virtual inheritance, and ordinary overloads. It requires registering the involved types and calling an initialization step; private members are not accessible by default. Benchmarks show single-argument open-method calls run about 16–20% slower than compiler virtual calls while using dispatch tables and integer indexes, and the implementation is available on GitHub as yomm2.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Case study
  3. 3:50Visitor
  4. 4:50Function Table
  5. 6:26Expression Problem
  6. 8:05Open Methods
  7. 8:38Library
  8. 11:34Value
  9. 12:41Multiple Dispatch
  10. 15:16Calling Open Methods
  11. 21:27Questions Comments
  12. 29:53Performance
~/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.