Efficient Data Structures (Overview)
- Array of Struct (AoS) vs Struct of Array (SoA).
- Data structures should adapt to both CPU and GPU.
- Collaboration with Jolly (ROOT) and Daniele (with Stefan Roiser) to ensure portability accross experiments.
Updates from last week
- I took the course "C++ Expert" together with the NextGenTrigger newstarters.
- We asked the teacher about our task (AoS vs SoA):
- He himself failed at implementing reflections using native C++ techniques.
- Everybody is coding their own reflection-like tool, but no library is satisfactory.
- That's why reflections were proposed for C++26.
- He is not sure if the feature will really be introduced in C++26. There are still open questions.
- Attila (ATLAS) will propose his own SoA data structure to us on Friday. I am reading his code.
General ongoing work
- Try to achieve SoA using standart C++ techniques, taylored to O2.
- Try to understand O2 code.
- Try to understand reflections.