4 ms·
While not 1st class, in D you can do a completely transparent library solution, because you can introspect the fields of the struct you want to be SoA and inser
by nicwilson 10y ago
While not 1st class, in D you can do a completely transparent library solution, because you can introspect the fields of the struct you want to be SoA and insert arrays of those fields in to the SoA'd type.
Á la https://github.com/economicmodeling/soa https://github.com/economicmodeling/soa