compiled code file size

Duke Normandin dukeofperl at ml1.net
Fri Sep 20 08:03:49 PDT 2013


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???

Duke


More information about the Digitalmars-d mailing list