compiled code file size

Vladimir Panteleev vladimir at thecybershadow.net
Sat Sep 21 12:41:30 PDT 2013


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/


More information about the Digitalmars-d mailing list