celtera/ahsohtoa
View on GitHub ↗ ★ 88 C++
Structure-of-array synthesis in C++20
9 mentions on Hacker News by 4 people: 3 stories, 6 comments · first 2021-11-03 · latest 2026-03-19
20082026
-
…a quick search, it seems HackerNews's own jcelerier has put together a C++ library for doing this. https://github.com/celtera/ahsohtoa
comment by MaxBarraclough · 2026-03-18 · in Rob Pike’s Rules of Programming (1989) -
…for sure does not have the utility functions defined here though, but is useful enough for me): https://github.com/celtera/ahsohtoa/blob/main/include/ahsoht...
comment by jcelerier · 2022-08-22 · in Zig is now self–hosted by default -
…bit about this part of DoD - plugging my C++ library for automatic conversion of AoS layout to SoA: https://github.com/celtera/ahsohtoa if it can be useful to anyone ; the entire code is pretty short and fully documented to explain the…
comment by jcelerier · 2022-05-27 · in The data-oriented design process for game development -
…AOS is relatively easy in D There's a library (which I haven't tried out) for doing this in C++20: https://github.com/celtera/ahsohtoa (The author is an HN regular, jcelerier .)
comment by MaxBarraclough · 2022-03-08 · in Algorithms for Modern Hardware -
…at writing time. no need to reach for upcoming languages, it's doable directly in C++: https://github.com/celtera/ahsohtoa =)
comment by jcelerier · 2022-02-16 · in The Elements of Cache Programming Style (2000) -
…to have an "object" API on top of an array-based storage (AoS interface / SoA implementation): https://github.com/celtera/ahsohtoa
comment by jcelerier · 2021-11-22 · in Data Oriented Design – first chapter (2018)