why does DMD compile "hello world" to about 500 _kilobytes_ on Mac OS X [x86_64]?!?
Paulo Pinto via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 5 23:36:07 PDT 2014
Am 06.09.2014 02:03, schrieb Ary Borenszweig:
> On 8/31/14, 8:51 PM, Abe wrote:
>> Please note: 502064 bytes!!! [for the curious: 490.296875
>> kilobytes]
>
> The real question is: why does size matter for you?
>
> A simple "hello world" program in Go is 2 megabytes. That's four times
> the size in D. I don't know if people complain about that.
>
> I efficiency matters most.
Well, the Go guys are now trying to minimize the footprint of static
compilation.
The many places 2 MB is a lot.
--
Paulo
More information about the Digitalmars-d
mailing list