Clean Executable
bauss via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 27 08:11:45 PDT 2017
On Tuesday, 27 June 2017 at 14:21:50 UTC, FoxyBrown wrote:
> How can we clean an exe from the junk library functions that
> are not actually used by an app. e.g., a hello world program
> shouldn't be 500+kb. I release there are necessary extras like
> the GC, but hell, in a hello world program is it even
> necessary? Does Writeln even use the GC to display a single
> string?
>
> Seems like D just does not optimize the binaries size. I know
> it's only 500kb, but still.
If you want optimizations don't use DMD.
More information about the Digitalmars-d-learn
mailing list