On Friday, 31 May 2013 at 14:33:48 UTC, khurshid wrote:
I just download dmd 2.063, and compile simple "hello world" program:

// hello.d
import std.stdio;
int main()
{
    writeln("hello world");
    return 0;
}


with -O -release -inline -noboundscheck  flags.

And size of result output file 'hello' equal to 1004.1 Kbyte !!!
Why size is big?


I'm using  fedora 14, 32-x.


Regards,
 Khurshid.

Without -noboundscheck hello executable is only 340.6 kbyte.

Compiled using dmd 2.062 on Debian 6.

--rt

Reply via email to