D for scientific computing
John Colvin
john.loughran.colvin at gmail.com
Thu Jan 24 05:11:28 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.
I had similar experience with all my numerical code. gdc and ldc
trade places but dmd is always solidly behind.
Walter, I know you like working with the current backend and you
understand it etc..., but this gives dmd a bus factor of 1 and is
slowing down code in the process.
More information about the Digitalmars-d
mailing list