[Issue 2254] Size of executable almost triples

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 31 17:13:33 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=2254


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #33 from Walter Bright <bugzilla at digitalmars.com> 2012-01-31 17:13:25 PST ---
For D1 1.073, 

  import std.stdio; void main() { writefln("hello world"); }

generates an executable sized 117,276.

For D2 2.058,

  import std.stdio; void main() { writeln("hello world"); }

generates an executable sized 146,972.

All on Windows compiled with -O -release -inline.

I think these sizes are reasonable, especially considering all that the runtime
library is expected to do (threads, gc, static construction, etc.).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list