4 ms·
Hmm, I don't get it. Isn't one of the major reasons to use ECS to exploit mechanical sympathy, i.e. you make sure that cache lines are always full, you can use
by royjacobs 5y ago
Hmm, I don't get it. Isn't one of the major reasons to use ECS to exploit mechanical sympathy, i.e. you make sure that cache lines are always full, you can use SIMD for calculations, etc.
All of this is pretty much out of the window for this design, so what is the benefit of the ECS here?
- ScoobleDoodle 5y agoI think the component instances per type are in the cache coherent memory location. So all physics components are cache coherent with each other. And the rendering instances with each other. At the individual object level the different components are not cache coherent. So the rendering and physics instances of one object are not in any memory coherent location. Because the physics will do it’s SIMD to resolve the mutual state. And then rendering will do the SIMD for their aggregate.