Re:The compiler will optimize that away
by Tyr42 on Sunday May 02, 2021 @09:29AM
(#27015112)
I also think that it's a shame he didn't bring up NumPy & Pandas, or R. He's just created a data frame and then complained that there's no functions to sort it, but we do have those. They are here.
I think Pandas and NumPy should be up there as making the language easy to use in a SoA way.
[ Parent
| on HN ]
Yeap. I think Pandas could and should see a lot more use outside data science as performant in-memory data storage in Python.
The best thing is? Most data scientists don't even care about SoA vs AoS - tabular structure is easy to grok, easy to use AND performant by default!