D has now surpassed C++ in overall performance

janderson askme at me.com
Thu Feb 1 18:30:55 PST 2007


John wrote:
> D has now surpassed C++ in overall performance at the "Computer Language Shootout" website. This change came about with the upgrade to 1.004 from 1.000 (I'm guessing because of the new GC).   
> 
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all&calc=Calculate&xfullcpu=1&xmem=1&xloc=0&binarytrees=1&chameneos=1&message=1&fannkuch=1&fasta=1&knucleotide=1&mandelbrot=1&meteor=0&nbody=1&nsieve=1&nsievebits=1&partialsums=1&pidigits=1&recursive=1&regexdna=1&revcomp=1&spectralnorm=1&hello=0&sumcol=1


Only if you take memory into account.  CPU performance is still not up 
to par.

The recursive and the mandelbrot are the biggest performance eaters. 
Recursive is the same as gcc so it must be a compiler thing I guess.

-Joel



More information about the Digitalmars-d-announce mailing list