3 ms·
> structs of arrays It’s such a bummer that the optimal memory layout is also a pain to code with in most languages (thinking of numpy in particular, oof). Are
by physicles 3y ago
> structs of arrays
It’s such a bummer that the optimal memory layout is also a pain to code with in most languages (thinking of numpy in particular, oof). Are there any languages out there that abstract this away? You’d have to give up pointers, but it’s worth it for some use cases.
- earthboundkid 3y agoZig!
- physicles 3y agoAnd apparently Fortran too. TIL.