hello world in D

khurshid khurshid.normuradov at gmail.com
Fri May 31 07:33:46 PDT 2013


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.


More information about the Digitalmars-d mailing list