~/talk

Design Patterns - The Most Common Misconceptions (2 of N)

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [frontend-architecture]
slides:none on file

Argues specific claims: CRTP splits into two intents — a compile‑time static interface versus a mix‑in — and explicit object parameters only address the latter, not dynamic dispatch. Demonstrates a replacement claim for std::variant with a concrete system: 10,000 random shapes and 25,000 operations, where variant-based visit runs roughly half the time in some builds but creates tight coupling and template‑heavy APIs across architectural boundaries. Recommends choosing architecture first, then the pattern and implementation.

AI-written summary · about

  1. 0:00Introduction
  2. 2:58CRTP explored
  3. 9:05Limitations of CRTP
  4. 13:58Modern alternatives to CRTP
  5. 20:05Defining new terminology
  6. 23:42Concepts and tags
  7. 28:20std::variant exploration
  8. 36:40Critique of OOP
  9. 40:00Variant benefits
  10. 45:20Performance data
  11. 48:26Architecture challenges
  12. 52:45Conclusion
~/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.