3 ms·
MultiArrayList: Zig type that auto-SoAs your structs
- cropcirclbureau 5y agoFound about reading this blog post[0] that details plans for an ECS for a Zig game engine. - [0] <https://devlog.hexops.com/2022/lets-build-ecs-part-1 https://devlog.hexops.com/2022/lets-build-ecs-part-1>
- kristoff_it 5y agoThis data structure is also a big part of the work done to make the Zig self-hosted compiler more effcient. Andrew gave a talk at Handmade Seattle on this very topic a while ago. https://media.handmade-seattle.com/practical-data-oriented-design/ https://media.handmade-seattle.com/practical-data-oriented-d...