A little Py Vs C++

Jens Mueller jens.k.mueller at gmx.de
Sat Nov 3 04:56:11 PDT 2012


Simen Kjaeraas wrote:
> 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.

Sorry. I'm the one being confused. You're right Simen.

Jens


More information about the Digitalmars-d mailing list