~/talk

C++ Game Development - Many Ways to Kill an Orc (or a Hero)

Talkat CppCon 2024 · on Monday, 2024-09-16· at 15:15· Cottonwood 2/3, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Compares concrete implementations: virtual-inheritance polymorphism, template-based interfaces, C++20 Concepts for intent and std::variant visitor-based dispatch, with working code and slides on the CppCon repo. Measures object sizes and run times (example numbers show a virtual-class baseline around ~500µs vs ~300µs with variant in one experiment), notes compile-time and extensibility tradeoffs, and demonstrates playable examples that compile and run; conclusion: trade-offs matter — size, speed, compile cost, and ease of adding new types.

AI-written summary · about

  1. 0:00Game violence and C++ design
  2. 10:20Character violence pitfalls
  3. 23:00Modern C++ vs virtual inheritance
  4. 30:07Performance impact of designs
  5. 35:10Team combat with polymorphism
  6. 40:46Combat without base classes
  7. 46:45Design approaches compared
  8. 50:01Q&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.