File size of exe: DMD vs LDC

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Thu May 12 14:39:27 PDT 2016


On Thursday, 12 May 2016 at 21:35:12 UTC, David Nadlinger wrote:
> In typical programs it is indeed a factor, and can be 
> considerably more than 2x too. […]

To expand on that a bit, if you write template- and CTFE-less 
programs with no unused code and no inlined functions, you would 
obviously expect much less gain from linker-level dead code/data 
elimination than for a typical D2 program.

  — David


More information about the Digitalmars-d mailing list