~/talk

OOP Is Dead, Long Live Data-oriented Design

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

Compares Chromium’s object-oriented animation path (6+ inheritance layers, virtual interpolation, per-animation heap objects) to a data-first redesign used in Hummingbird: flat animation-state structs, an animation controller that ticks arrays per property type, existence-based predication, and templates instead of runtime polymorphism. With 3,000 rectangles (~6,000 animations) the redesign reduces cache misses and virtual calls and runs about six times faster. Shows practical tradeoffs: easier multithreading and testing, harder quick state changes and initial data modeling.

AI-written summary · about

  1. 0:00Introduction
  2. 2:35Demo and initial questions
  3. 5:32Principles of DOD
  4. 9:34System design
  5. 11:31Object-oriented implementation
  6. 21:08DOD implementation
  7. 30:34API and design recap
  8. 34:15Results and analysis
  9. 39:35Conclusion
  10. 46:16Q&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.