D for scientific computing

Rob T alanb at ucora.com
Thu Jan 24 13:05:14 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.

You are taking care to compare with full optimization flag 
settings? I'm sure you are, but I ask just in case.

--rt


More information about the Digitalmars-d mailing list