On Thursday, 24 January 2013 at 10:42:10 UTC, Joseph Rushton
Wakeling wrote:
On 01/24/2013 11:16 AM, Walter Bright wrote:
If you use the 64 bit model, dmd will use SIMD instructions
for float and
double, which are much faster.
I generally find that dmd-compiled programs run at about half
the speed of those built with gdc or ldc (the latter seem
pretty much equivalent these days, some programs run faster
compiled with one, some with the other). That's running off
latest GitHub source for all compilers.
That's been a fairly consistent speed difference for a long
time. And yes, I'm using 64-bit.
Same for me. The difference between ldc and dmd seems to be
mainly due to optimizing and especially inlining (see
http://d.puremagic.com/issues/show_bug.cgi?id=9320 for an example
in that matter).