Program size, linking matter, and static this()

Steven Schveighoffer schveiguy at yahoo.com
Fri Dec 16 13:39:57 PST 2011


On Fri, 16 Dec 2011 16:28:03 -0500, Steven Schveighoffer  
<schveiguy at yahoo.com> wrote:

> So why don't we just leave the code size situation as-is?  500kb is not  
> a terribly significant amount, but dlls are on the horizon (Walter has  
> publicly said so).  Then size becomes a moot point.
>
> If we get reflection, then you will find that having excluded all the  
> runtime information when not used is going to hamper D's reflection  
> capability, and we'll probably have to start putting it back in anyway.
>
> In short, dlls will solve the problem, let's work on that instead of  
> shuffling around code.

The other valid option I see is removing the link to the virtual tables,  
thereby disabling reflection via factory until we can implement full  
reflection.

-Steve


More information about the Digitalmars-d mailing list