Hacker News new | ask | show | jobs
by jcelerier 1576 days ago
> Some upcoming languages like Zig and Jai have features to allow you to easily switch from array-of-structures to structure-of-arrays at writing time.

no need to reach for upcoming languages, it's doable directly in C++: https://github.com/celtera/ahsohtoa =)