compiled code file size

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Sep 23 10:43:05 PDT 2013


On Sat, Sep 21, 2013 at 09:41:30PM +0200, Vladimir Panteleev wrote:
> On Friday, 20 September 2013 at 16:20:34 UTC, Duke Normandin wrote:
> >I'm re-visiting the D language. I've compared the file sizes of 2
> >executables - 1 is compiled C code using gcc; the other is D code
> >using dmd.
> >
> >helloWorld.d => helloWorld.exe = 146,972 bytes
> >ex1hello.c => ex1-hello.exe = 5,661 bytes
> >
> >Why such a huge difference???
> 
> You can upload a .map file here, and see what's taking up all the
> space:
> http://thecybershadow.net/d/mapview/

Ah, you beat me to it. :-)


T

-- 
All problems are easy in retrospect.


More information about the Digitalmars-d mailing list