~/talk

Keynote: There Is No Silver Bullet to Solve All C++ Software Problems

Talkat C++ on Sea 2024 · 2024-07-02..07-05· [software-architecture]
slides:none on file

Compares three concrete implementations for a shape-drawing app: classic GoF OOP with virtual functions, a value-based functional solution using std::variant, and a value-semantic object design via type erasure. Builds six shape types, populates 10,000 random shapes, runs 25,000 translate ops, and benchmarks on GCC 13.2 and Clang 18.14; std::variant runs ~50–60% faster than classic OOP, type erasure outperforms classic and approaches variant speed, but variant forces templates and breaks architectural openness for extensible type sets.

AI-written summary · about

  1. 0:00Keynote introduction
  2. 1:32Why this keynote differs
  3. 10:10Gang of Four critique
  4. 18:41Replacing inheritance with std::variant
  5. 22:58Functional programming hype
  6. 29:03std::variant limitations
  7. 33:34Progressive C++ and terminology
  8. 41:15Type erasure introduction
  9. 47:06Functional vs OO design
  10. 50:18Conclusion and Q&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.