May 16, 2004
Andy Friesen wrote:

> J Anderson wrote:
>
>> I would argue that having matrix multiplication and such will bloat the language.  It should be a library feature.  I see no problem with writing it in assembler (as long as I don't have to write it <g>).  It would be better to have this as part of the standard library.  That language won't be able to provide much additional speed by hard-wiring things like MMX into the language.  Remember MMX and the like are designed to work well as language extensions in the first place.
>
>
> If Phobos included some types and functions for these sorts of operations, compiler vendors would hypothetically be able to implement those operations as intrinsics.
>
>  -- andy

Exactly!

-- 
-Anderson: http://badmama.com.au/~anderson/
May 23, 2004
"Ben Hinkle" <bhinkle4@juno.com> wrote in message news:c868ng$2muf$1@digitaldaemon.com...
> Walter, do you know much about Cg?

I looked at it briefly a couple years back, I think.

> I was just poking around the nvidia site
> reading the spec and it looks like they have some interesting ideas to
> avoid aliasing (inout is copy-in-copy-out, no pointers, etc) that could be
> nifty to pull into D.


1 2 3
Next ›   Last »