3 ms·
> SoA for example is a very non-idiomatic thing to do in most C-like languages and especially OO ones Isn't it rather that switching between SoA and AoS is ted
by jstimpfle 9y ago
> SoA for example is a very non-idiomatic thing to do in most C-like languages and especially OO ones
Isn't it rather that switching between SoA and AoS is tedious? SOA style itself (using common indices into multiple tables) works ok in C, IMO.
- alkonaut 9y agoYes, SoA is just slightly odd (Doesn't look idiomatic with points[i].X instead of points.X[i]), and the switching is so cumbersome that you have to settle for one way or the other.