News for hackers. Stuff that matters.
Re:How does a game engine work? an overview (2016) by surfmike on Sunday November 07, 2021 @09:31AM (#29139701)
The same shift has been happening on game engines, with Entity component systems.
Re:How does a game engine work? an overview (2016) by DeathArrow on Sunday November 07, 2021 @10:19AM (#29140139)
ECS is just data oriented design. The data is better layed out to enable parallel execution and to minimize cache misses.

OOP is not a good fit for performance. I would even argue that OOP is not even good for decreasing complexity and ease of maintenance.

Re:How does a game engine work? an overview (2016) by ratww on Sunday November 07, 2021 @11:43AM (#29140971)
Similar to your reply above about microservices, there are more benefits to ECS than data-oriented design.

Composability, separation of concerns, flexibility and simplicity were also some of the driving forces behind ECS.