D for scientific computing

Nicolas Sicard dransic at gmail.com
Thu Jan 24 03:23:47 PST 2013


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).


More information about the Digitalmars-d mailing list