#StructOfArrays
Made a simple #StructOfArrays template library for #C++ leveraging #CompileTime #Reflection 🪞

- soa works for pretty much any struct type
- API similar to std::vector
- Access fields by name with soa.get<"...">
- Header-only
👉 github.com/gilzoide/soa...

#gamedev #indiedev #indiegamedev #C++20
GitHub - gilzoide/soa.hpp: Struct of Arrays (SoA) container template for C++20 that uses compile-time reflection to iterate over existing fields and access fields by name.
Struct of Arrays (SoA) container template for C++20 that uses compile-time reflection to iterate over existing fields and access fields by name. - gilzoide/soa.hpp
github.com
November 15, 2025 at 4:36 PM
Fiz uma biblioteca de #StructOfArrays simples em #C++ usando #CompileTime #Reflection 🪞

- soa funciona pra basicamente qualquer tipo struct
- API similar a std::vector
- Accesse campos por nome com soa.get<"...">
- Header-only
👉 github.com/gilzoide/soa...

#gamedev #indiedev #indiegamedev #C++20
GitHub - gilzoide/soa.hpp: Struct of Arrays (SoA) container template for C++20 that uses compile-time reflection to iterate over existing fields and access fields by name.
Struct of Arrays (SoA) container template for C++20 that uses compile-time reflection to iterate over existing fields and access fields by name. - gilzoide/soa.hpp
github.com
November 15, 2025 at 4:37 PM