why simple hello world binary is ~700KB
Sean Kelly
sean at f4.ca
Thu Oct 4 14:00:10 PDT 2007
Bedros Hanounik wrote:
> Ok, I tried dmd 2.0 with the same code and got 271KB binary out of it. still huge compared to 6.5KB generated by gcc.
About the smallest "hello world" binary you'll get from a recent version
of D is 100k. Prior to 1.0, it was possible to get a 70k "hello world"
program. In every case however, cstdlib is statically linked to the app.
Sean
More information about the Digitalmars-d
mailing list