Feasibility of achieving automatic view construction solely via C++ reflections
Determine whether C++ compilers can, using only C++ reflection facilities, implement an automatic, multi-step transformation pipeline that constructs temporary local data views by performing out-of-place AoS-to-SoA reordering, eliminating unused (dead) data accesses based on program analysis, and enabling aggressive vectorization, without requiring additional annotations or code rewrites beyond reflections.
References
However, it remains uncertain whether compilers will be able to offer such a complex, multi-step code transformation solely through reflections in the near future.
— Annotation-guided AoS-to-SoA conversions and GPU offloading with data views in C++
(2502.16517 - Radtke et al., 23 Feb 2025) in Section 1 Introduction