Disappointing math performance compared to GDC

John Colvin via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Oct 10 05:13:48 PDT 2014


On Thursday, 9 October 2014 at 08:13:21 UTC, Gabor Mezo wrote:
> Hey,
>
> We have made progress. I've merged my computation code into a 
> single module, and now the LDC build is as perfomant as the 
> Clang one! The benchmark took around 0.044 secs. It's slower 
> that the GDC version but it is amazing that D language can be 
> as performant as C++ by using the same compiler backend, so no 
> magic allowed.
>
> Results pushed in.

The -singleobj flag may give you that same performance boost 
without having to refactor the code.


More information about the digitalmars-d-ldc mailing list