News for hackers. Stuff that matters.
Re:The data-oriented design process for game development by corysama on Friday May 27, 2022 @11:28AM (#31530726)
DOD actually started as an alternative to class inheritance hierarchies. The performance benefits were recognized and popularized after it was implemented.

https://www.gamedevs.org/uploads/data-driven-game-object-sys...

Re:The data-oriented design process for game development by thisNeeds2BeSad on Friday May 27, 2022 @12:03PM (#31531178)
Eh, inheritence is relatively performance friendly.. all the stuff is after all wrapped into one onion shaped object. The problem starts with pointers - aka loose composition and not having "work-bundles" for the hootloop, which usually ideally come as arrays of work-packages.

MA, MA, MA