dmd makes D appear slow

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri May 29 16:50:45 PDT 2015


On Fri, 29 May 2015 23:29:39 +0000, weaselcat wrote:

> On Friday, 29 May 2015 at 23:19:36 UTC, ketmar wrote:
>> On Fri, 29 May 2015 20:02:47 +0000, Martin Krejcirik wrote:
>>
>>> dmd
>>>    - reference compiler, Digital Mars backend - best for
>>> latest dlang
>>>    features, fast compile times
>>> 
>>> gdc
>>>    - GNU gcc backend based compiler - best for portability and
>>>    compatibility with gnu tools
>>> 
>>> ldc
>>>    - LLVM backend based compiler - best for optimized builds,
>>> best
>>>    runtime speed
>>
>> does LDC really surpasses GDC in generated code speed?
> 
> yes GDC is 2-3x slower than LDC on this bench for example. I think it's
> because of a lack of cross module inlining.

thanks for the info.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150529/c30a850d/attachment.sig>


More information about the Digitalmars-d mailing list