2 ms·
Not really, it's basically 'composition over inheritance', and laying out data structures in a cache-friendly way, and only then build the functions that work o
by flohofwoe 11y ago
Not really, it's basically 'composition over inheritance', and laying out data structures in a cache-friendly way, and only then build the functions that work on those data structures (the common term is 'data-oriented design').
It's the mantra that game developers have been preaching for at least the last 5..10 years and which slowly makes its way into the general programming world, because the CPU/memory performance gap is getting wider, not narrower. The bitsquid engine blog (now: Autodesk Stingray engine) has a lot of really great articles on that topic (for instance http://bitsquid.blogspot.de/2014/08/building-data-oriented-entity-system.html http://bitsquid.blogspot.de/2014/08/building-data-oriented-e...).