pi benchmark on ldc and dmd
bearophile
bearophileHUGS at lycos.com
Mon Aug 1 20:19:56 PDT 2011
Adam D. Ruppe:
> It was something that used bigint. I whipped it up myself earlier
> this morning, but left the code on my laptop. I'll post it when
> I have a chance.
OK.
In such situations it's never enough to compare the D code compiled with DMD to the D code compiled with LDC. You also need a reference point, like a C version compiled with GCC (here using GMP bignums). Such reference points are necessary to anchor performance discussions to something.
Bye,
bearophile
More information about the Digitalmars-d
mailing list