Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2022 (4)
20082026
  1. ▲ 1
    ahsohtoa: Structure-of-Array Synthesis in C++20
    story by tosh · 2026-03-19 · 0 comments
  2. …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)
  3. …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
  4. …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…
  5. …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
  6. …at writing time. no need to reach for upcoming languages, it's doable directly in C++: https://github.com/celtera/ahsohtoa =)
  7. …to have an "object" API on top of an array-based storage (AoS interface / SoA implementation): https://github.com/celtera/ahsohtoa
  8. ▲ 3
    Automatic AoS-to-SoA in C++20
    story by jcelerier · 2021-11-13 · 0 comments
  9. ▲ 16
    Ahsohtoa: Structure-of-Array Synthesis in C++20
    story by davikrr · 2021-11-03 · 0 comments