why does DMD compile "hello world" to about 500 _kilobytes_ on Mac OS X [x86_64]?!?

Israel via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 5 12:58:11 PDT 2014


On Friday, 5 September 2014 at 09:27:41 UTC, Marco Leise wrote:
> Am Tue, 02 Sep 2014 07:03:52 +0000
> schrieb "Dicebot" <public at dicebot.lv>:
> Only when you think about how people put 5 minutes of a
> stunning 3D gfx demo into 64 KiB you start to worry about 34
> KiB for "Hello World!" again.

This made my day.

Anyways yea, i tried using LDC and --gc-sections as lflags in dub
but i cant get dub to play nice with LDC. I think Dub just uses
DMD be default and cannot be changed, im not sure.


More information about the Digitalmars-d mailing list