September 06, 2014 Re: why does DMD compile "hello world" to about 500 _kilobytes_ on Mac OS X [x86_64]?!? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | On Friday, 5 September 2014 at 19:38:14 UTC, deadalnix wrote: > On Friday, 5 September 2014 at 11:50:37 UTC, Ola Fosheim Grøstad >> https://www.youtube.com/watch?v=RCh3Q08HMfs&list=PLA5E2FF8E143DA58C > > That is beyond sanity... > > I love it. Quite impressive what they can do with algorithmic generators, distance fields, dsp and compression. Minimalistic insanity: Music in one line of c-code: https://www.youtube.com/watch?v=tCRPUv8V22o 9 minutes music video in 23 bytes: https://www.youtube.com/watch?v=7lcQ-HDepqk |
September 06, 2014 Re: why does DMD compile "hello world" to about 500 _kilobytes_ on Mac OS X [x86_64]?!? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Borenszweig | 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
|
Copyright © 1999-2021 by the D Language Foundation