Performance dmd vs ldc2

bearophile bearophileHUGS at lycos.com
Wed Jul 24 04:42:58 PDT 2013


Chris:

> Although I have not done any serious (i.e. exact) benchmarking 
> here are the first obvious results:

In the last weeks Walter has written several patches for the 
back-end of DMD, to better optimize programs, but I didn't see 
benchmarks to justify those changes.


> PS Naive question: What's the difference between ldc2 and ldmd2?

ldmd2 is just a wrapper that calls ldc2. It gives a similar 
interface to dmd. But it lacks profiler, linker options like 
-L/STACK:1000000 and more.

(How do you increase stack space on Windows with ldc2?)

Bye,
bearophile


More information about the digitalmars-d-ldc mailing list