logoalt Hacker News

MaxBarracloughyesterday at 9:50 PM1 replyview on HN

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


Replies

wild_eggyesterday at 11:06 PM

Zig also makes this trivial