compiled code file size
JohnnyK
johnnykinsey at comcast.net
Fri Sep 20 10:59:33 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???
>
> Duke
That 140KB is called the CYA document. It is there so that when
you the programmer screws up you don't look so bad in front of
your boss.
More information about the Digitalmars-d
mailing list