[Semi OT] Language for Game Development talk

Ola Fosheim Grostad via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 04:17:44 PDT 2014


On Saturday, 20 September 2014 at 09:09:56 UTC, bearophile wrote:
> Brian Schott:
>
>> Array operations do use SIMD.
>
> Array ops aren't used often in most normal D code. Most usages 
> of SIMD should come from auto-vectorization and core.simd (but 
> perhaps core.simd design was not discussed and improved enough, 
> and the implicit upcasting semantics of C could hurt 
> auto-vectorization).

Yes, I was thinking of auto vectorization/masking. Handcrafted 
simd is nice too, but I feel it is better done in a way the 
backend can understand. You might also want the compiler to 
generate fallback paths for older cpus...



More information about the Digitalmars-d mailing list