4 ms·
If you want to utilise this data oriented approach in rust, check out soa-derive[0]. SoA stands for struct of array, rather than the conventional array of struc
by conradludgate 5y ago
If you want to utilise this data oriented approach in rust, check out soa-derive[0]. SoA stands for struct of array, rather than the conventional array of struct.
[0]: https://crates.io/crates/soa_derive https://crates.io/crates/soa_derive
- d0tnet 5y agoThis is amazing!
- teh_matt 5y agoI hacked up something similar (https://gitlab.com/mbryant/functiontrace/-/blob/master/src/profile_generator.rs#L123 https://gitlab.com/mbryant/functiontrace/-/blob/master/src/p...) a while ago. Your variant looks much more useful!
- conradludgate 5y agoYeah I'm a big fan of proc-macros. If utilised well, it can do some really great things