~/talk

Data Orientation For The Win!

Talkat CppCon 2021 · on Sunday, 2021-10-24· [frontend-architecture, web-performance]
slides:none on file

Argues data-oriented layouts are practical by building Generic Programming components that replace pointers and virtual dispatch with Zoo type-erasure and explicit handle indices, claims better performance than inheritance+virtual, and demonstrates hybrid buffers that scatter vtable-like dispatch out of objects to solve local-buffer sizing. Shows macros and Boost preprocessor sequences to auto-generate columnar layouts, introduces an infrequent annotation for sparse fields, and outlines snapshot-friendly relocatability plus memory-mapped serialization that already works in production experiments.

AI-written summary · about

  1. 0:00Intro
  2. 2:20There are big inefficiencies
  3. 4:26Plan
  4. 6:21What is Data Orientation?
  5. 8:51Abstraction, Modeling
  6. 10:04Give Primacy to Data
  7. 10:58Generally C++ Hostile
  8. 12:23Encapsulation
  9. 19:55State Representation Solution
  10. 22:15Subtyping
  11. 28:54Generality vs. Frequent uses
  12. 32:25Entity Component Systems
  13. 34:51If we can do scattering and handles, then we win
  14. 38:14Handle types
  15. 41:06Poison: Macros
  16. 41:34Type Annotations
  17. 44:46Less general improvements
  18. 45:09A little beyond
  19. 46:47Conclusion
~/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.