<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 5/3/2011 7:39 AM, Steve Schveighoffer wrote:
<blockquote cite="mid:787020.61123.qm@web161720.mail.bf1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: arial,helvetica,sans-serif; font-size: 12pt;">
<div><span>Dmd has steadily been making binaries more bloated
for the last couple years (many times pointed out in the NG
and there are several bugzilla reports).<br>
</span></div>
</div>
</blockquote>
<br>
There are two causes of this:<br>
<br>
1. Typeinfo getting larger, and people wanting more features in
Typeinfo (like precise gc) so this will continue to increase.<br>
<br>
2. Every phobos module imports and relies on every other one.<br>
<br>
<br>
To find out why .o files are large, run obj2asm on it. To find out
why executables are large, compile with the -map switch and examine
the linker .map file. <rant>AFAIK, I'm the only person who
ever does this.</rant><br>
<br>
Please, everyone. Once in a while, run obj2asm on the library module
you're developing and have a look-see at what is coming out of the
compiler.<br>
<br>
</body>
</html>