A little Py Vs C++

Simen Kjaeraas simen.kjaras at gmail.com
Sat Nov 3 04:49:58 PDT 2012


On 2012-39-03 12:11, Jens Mueller <jens.k.mueller at gmx.de> wrote:


>>
>> I have a fork; some people are using it already. It still needs a lot of
>> work though; some compilers missing parts, platforms not supported.
>> That said, it's not an effort to address D's natural vector syntax, the  
>> key
>> goal is to provide a hardware SIMD API that is as orthogonal as possible
>> and portable (with confidence it will run reasonably well).
>> I wonder if druntime could be enhanced to use the SIMD stuff though in  
>> the
>> functions that perform the natural vector operations, might offer some  
>> nice
>> little boosts.
>
> Cool.
> It'll be nice though if D's vector operations could be expressed on top
> of it. I mean a[] + b[] is so much easier to read.

Perhaps I'm the confused one here, but as I understand it, that's the
whole point of the latter part of the paragraph - array operations are
implemented in druntime, and that implementation might benefit from using
SIMD instructions.


-- 
Simen


More information about the Digitalmars-d mailing list