Performance dmd vs ldc2

David Nadlinger code at klickverbot.at
Wed Jul 24 09:52:17 PDT 2013


On 24 Jul 2013, at 14:49, Chris wrote:
> Thanks for clarifying that. I am still impressed with the performance. 
> Although I'm sure I could squeeze a bit
> more out of dmd. As of now I'm only using the garden-variety (i.e. dmd 
> -release [files]). I didn't use any
> switches with ldc2, though.

That's surprising. In quite a few instances, LDC's codegen is even worse 
than DMD's without any optimization flags (removing silly redundancies 
from the emitted IR is a thing that should be tackled in the future).

David


More information about the digitalmars-d-ldc mailing list