Re:The Lost Art of C Structure Packing
by carterschonwald on Wednesday January 01, 2014 @05:14PM
(#6996992)
Happily, in Haskell the standard array library does the struct of arrays format for unboxed arrays. It's super handy!
[ Parent
| on HN ]
Re:The Lost Art of C Structure Packing
by evincarofautumn on Wednesday January 01, 2014 @09:20PM
(#6997827)
I thought the array package was deprecated. Its mutable API is nicer than vector’s, though, if I recall correctly.
Vector does the SOA represetation too.
Re:The Lost Art of C Structure Packing
by carterschonwald on Friday January 03, 2014 @12:43PM
(#7006770)
yup, Vector is the one i have mind. (Vector is also an array lib)