Re:Data-Oriented Design
by marcosdumay on Monday July 03, 2023 @01:48PM
(#36576443)
> In any case, I think the underlying principles of DOD apply to all programs.
Yeah, I do agree with that.
Re:Data-Oriented Design
by DeathArrow on Tuesday July 04, 2023 @05:59AM
(#36584475)
> The two most popular game engines, Unreal and Unity, are decisively non-ECS for almost everything they do.
Unity is promoting Data-Oriented Technology Stack which includes ECS. They even made some tools to help translate between Gameobject based workflows and ECS based workflows.
Re:Data-Oriented Design
by meheleventyone on Tuesday July 04, 2023 @07:39AM
(#36585332)
Although most of the team has been gutted and it's still not in a great state.
Game data access patterns are quite brutal. OOP for games results in extremely inefficient cache use, lots of random access, and lots of pointer chasing.
ECS isn’t a “natural” fit for games. It’s quite difficult and ECS systems are still far from a solved problem.
The two most popular game engines, Unreal and Unity, are decisively non-ECS for almost everything they do.
In any case, I think the underlying principles of DOD apply to all programs. Specific solutions vary, as always.