3 ms·
Are there any popular languages that support SOA 1st-class? C++ is largely competing with GC languages where it is difficult to avoid separated heap allocation
by corysama 10y ago
Are there any popular languages that support SOA 1st-class? C++ is largely competing with GC languages where it is difficult to avoid separated heap allocations for every tiny bit of data.
- nicwilson 10y agoWhile 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