4 ms·
Jonathan Blow's own unreleased Jai programming language has a feature to make it trivial to switch between array-of-structs and struct-of-arrays. From a quick
by MaxBarraclough 7mo ago
Jonathan Blow's own unreleased Jai programming language has a feature to make it trivial to switch between array-of-structs and struct-of-arrays.
From a quick search, it seems HackerNews's own jcelerier has put together a C++ library for doing this. https://github.com/celtera/ahsohtoa https://github.com/celtera/ahsohtoa
- wild_egg 7mo agoZig also makes this trivial
- deleted 7mo ago[deleted]
- throwaway2037 7mo agoI believe you. Can you provide a simple example? I would be helpful for me to understand.