Am 28.11.2011, 11:02 Uhr, schrieb Jude <[email protected]>:
I tried to write a lib and a project, which used that lib
separately, but came to conclusion that the best choice it to pull
lib code to project one. And it is not a biggest problem, because
dmd produces 700 kb executable for hello word program.
what..?
I don't know how you are managing to get 700kb for hello world...
mine clocks in a 283.7kb with dmd with no optmizations, and holy crap
1.6MB for same file with gdmd.
WTF is going on there I wonder...?
*drum roll*
148,2 kB (dmd 2.054, Linux)
*tadaa*
- 8< - - - - - - - - - - - - - - - - - - -
import std.stdio;
void main() {
writeln("Hello, world!");
}
- 8< - - - - - - - - - - - - - - - - - - -