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

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 5 15:43:14 PDT 2014


Am Fri, 05 Sep 2014 19:38:13 +0000
schrieb "deadalnix" <deadalnix at gmail.com>:

> On Friday, 5 September 2014 at 11:50:37 UTC, Ola Fosheim Grøstad
> wrote:
> > On Friday, 5 September 2014 at 09:27:41 UTC, Marco Leise wrote:
> >> 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.
> >
> > You meant 4KiB…
> >
> > https://www.youtube.com/watch?v=RCh3Q08HMfs&list=PLA5E2FF8E143DA58C
> 
> That is beyond sanity...
> 
> I love it.

Me too... This is the Matrix. Mesmerizing.
Of course printing 12 characters to stdout is still much more
involved than even 5 of those ... demos ... with their graphics
shaders, metaballs, fish eye effects, camera fly throughs and
polyphonic synthesizer music.

-- 
Marco



More information about the Digitalmars-d mailing list