Thread overview
Anyone wants to show the power of D?
May 01, 2014
marwy
May 01, 2014
bearophile
May 01, 2014
bearophile
May 01, 2014
There are two threads that came up lately, where people compare their language's speed.
1) http://codegolf.stackexchange.com/q/26323
2) http://codegolf.stackexchange.com/q/26371 (this one is newer)

Both of them still lack the D lang.
Anyone up for a little pissing contest? ;-).
May 01, 2014
marwy:

> There are two threads that came up lately, where people compare their language's speed.
> 1) http://codegolf.stackexchange.com/q/26323
> 2) http://codegolf.stackexchange.com/q/26371 (this one is newer)
>
> Both of them still lack the D lang.
> Anyone up for a little pissing contest? ;-).

Currently here we are rather distracted, busy turning D up on its head :-)

Regarding the first "contest", this is a D version of the C++ code by Stefan, to be compiled with LDC2 (I have not tested gdc2):
http://dpaste.dzfl.pl/cc8317cd0489

I have not yet translated the Fortran version of the code.

Bye,
bearophile
May 01, 2014
And a D solution for the second contest, still for LDC2 compiler, translated from C++ code by "ilmale":

http://dpaste.dzfl.pl/f029aa2c0a46

Timing comparisons are welcome.

Bye,
bearophile