3 ms·
Here's cart's analysis: https://i.imgur.com/Kmokcmq.png https://i.imgur.com/Kmokcmq.png Cart is the creator of Bevy (ECS engine in Rust) and Sander is the crea
by SeanAnderson 3y ago
Here's cart's analysis: https://i.imgur.com/Kmokcmq.png https://i.imgur.com/Kmokcmq.png
Cart is the creator of Bevy (ECS engine in Rust) and Sander is the creator of Flecs (ECS engine in C)
Assume they lose if they try to enforce it, but don't know of any attempts yet.
- mananaysiempre 3y agoSo, uh, am I reading that right? One part is “use array of structs for ECS” and the other is “use struct of arrays for ECS”? Really?
- meheleventyone 3y agoYeah the optimization is similar to the realization that array-of-structs can be the faster memory layout if you use all/most of the members of the struct. So you organize memory by archetype rather than keeping the components separately.