Disappointing math performance compared to GDC

Gabor Mezo via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Oct 10 09:17:29 PDT 2014


On Friday, 10 October 2014 at 15:08:21 UTC, Gabor Mezo wrote:
> On Friday, 10 October 2014 at 12:13:49 UTC, John Colvin wrote:
>> 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.
>
> How do you do this by using dub?

Ok, thanks, I've already figured it out.



More information about the digitalmars-d-ldc mailing list