3 ms·
The same shift has been happening on game engines, with Entity component systems.
by surfmike 5y ago
The same shift has been happening on game engines, with Entity component systems.
- DeathArrow 5y agoECS 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.
- ratww 5y agoSimilar 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.