by jpbadan · 4y ago · 0 comments
So basically rust imposes a lot of limitations on how you can structure your program relative to something like Zig or C.
I don't see it imposing that much of a limit. If there is code you know is correct and Rust can't reason about it, do it in unsafe block.
And ECS is not just possible in Rust, but due to mutability guarantees you can make your ECS schedule systems in such way to maximize multi threading. See Bevy ECS.
It’s still early days for Bevy but they’re making steady progress.
Independently of Bevy's progress, a parallel ECS is not a good choice for a prototype-like game project.