Re: template expressions in C++ to an equivalent in D

2011-10-30 Thread Trass3r
I was thinking about porting http://eigen.tuxfamily.org/index.php in D. Don't we have a LinAlg library now thx to that GSoC project? I'm currently on SFML2 but it goes quite fast (thanks to Trass3r for porting SFML to D2 so a big part of the job is done). You're welcome.

template expressions in C++ to an equivalent in D

2011-10-28 Thread Dominic Jones
Hello, I want to compute, for example d = a + b + c where a..d are of some derived type, without incurring the cost of temporaries for each overloaded operation. In a similar post a while ago, Walter Bright proposed using function literals instead of template expressions to do this. After

Re: template expressions in C++ to an equivalent in D

2011-10-28 Thread deadalnix
Le 28/10/2011 19:18, Dominic Jones a écrit : Hello, I want to compute, for example d = a + b + c where a..d are of some derived type, without incurring the cost of temporaries for each overloaded operation. In a similar post a while ago, Walter Bright proposed using function literals instead