upvote
The problem is that there are a lot of subtleties to an ECS that these frameworks solve, and they perform better than a naive approach too. Your solution of a particles struct doesn’t even support a fundamental feature of ECS’s which is runtime composition. It’s really a different solution altogether, which is fine but it’s not a replacement for an ECS.
reply
Often you don't have runtime composition and don't need it. By prematurely generalizing you're venturing close to OOP territory.
reply