swerner
Joined 9 years ago
Joined 9 years ago
Camp with hippies, and you’ll be at a hippie festival. Camp with ravers, you’ll be at a rave. You can camp with a church group there, with philosophers (we had them as neighbors one year), with families with small kids, or with (disarmed) 2A gun nuts.
My thinking was rather that most of our current programming languages put memory layout fully into the programmer’s responsibility - I can think off hand of a language where the compiler makes performance decisions like whether your structure are SoA, AoS or SoAoS, what alignment, padding, strides and float types to use.
Automatic decisions about when to use cooperative loads through shared local mem versus gathers from global mem and hardware caches are also something that such a hypothetical compiler would have to make.