~/talk

Can C++ Data-oriented-design be Improved?

Talkat CppCon 2023 · on Thursday, 2023-10-05· at 14:00· Cottonwood 8/9, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Claim: yes it can be improved by rethinking data as transformations and moving work to the compiler. Uses modern C++ features (C++20 Concepts, ranges, void_t, templates and requires) and proposes transformation-oriented design implemented with compile-time functional programming and type lists and transform packages. Prototype replaces virtual-based image loaders with a typelist of static transform packages, removing virtual calls and enabling compile-time dispatch; example code is rough but the approach demonstrates better modularity and optimization opportunities.

AI-written summary · about

  1. 0:00Introduction
  2. 3:24Data-oriented design philosophy
  3. 8:31Functional programming vs OOP
  4. 15:00OOP paradigms contrasted
  5. 22:09Transformation-oriented design
  6. 28:10Image loading library redesign
  7. 40:23Function existence checks in C++
  8. 47:08Modern C++ code simplification
  9. 50:04Conclusion
~/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.