Port a benchmark to D?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Jun 3 17:58:45 PDT 2011


On 6/3/11 7:42 PM, Andrej Mitrovic wrote:
> DMD debug: 50s
> DMD optimized: 49s (-release -noboundscheck -O -inline -L/STACK:1280000000)
>
> That's around 1GB of stack memory.
> Compiling with GDC will make the app throw an exception at runtime due
> to the stack being blown, the error message isn't special but it's
> better than no error message.
>
> GDC debug: 1m:24s
> GDC optimized: 1m:12s (gdc -v2 -O3 -Wl,--stack,1280000000)
>
> I haven't tested the other ones. Does Go have a Windows compiler yet?

I think they do. But another good data point would be the C++ timings on 
the same machine.

Andrei


More information about the Digitalmars-d mailing list