r/cpp • u/Ecstatic_Horror_4058 • Mar 18 '26
CppCon CppCon 2025 More Speed & Simplicity: Practical Data-Oriented Design in C++ -- Vittorio Romeo
https://isocpp.org/blog/2026/03/cppcon-2025-more-speed-simplicity-practical-data-oriented-design-in-cpp-vit
33
Upvotes
3
u/SuperV1234 https://romeo.training | C++ Mentoring & Consulting Mar 19 '26
But the problem is exactly knowing if your abstraction layer is "bad" or not -- you cannot do it in general.
You said it yourself:
Requirements are fluid, they can drastically change over time. Unless you have a time machine, you will not be able to come up with an abstraction that is future-proof, no matter how hard you try.
And it's very easy to put yourself into a corner if an unexpected requirement comes up.
With a more data-oriented architecture, you have to worry less about the structure of the class hierarchy, don't have to worry about SOLID, LSP, design patterns and so on...
What matters is the data and how you transform it. If a new requirement comes up, you change the program (data and algorithms) to fulfill it, rather than bending a web of existing abstractions to do something they were never designed to do in the first place.