On Fri, 31 May 2013 15:33:46 +0100, khurshid
<[email protected]> 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.
Phobos the std library is statically linked, currently. You will get a
similar size (or greater) if you statically link the stdc library.
Eventually D will support dynamically linking to Phobos.
R
--
Using Opera's revolutionary email client: http://www.opera.com/mail/