
Systems
Data Oriented Design in Rust and Why It Speeds Up Code
Arrange data for how it is read, not how it is modeled. Compare array of structs with struct of arrays, see why hot loops get faster with contiguous fields, and when the change is not worth it.
4 min read