[Lazarus] Large program size - 1.8 MB for empty GUI project

Marco van de Voort marcov at stack.nl
Fri Apr 3 16:42:40 CEST 2009

On Fri, Apr 03, 2009 at 02:41:29PM +0200, Mattias G?rtner wrote:
> >
> > Note that unneeded parts in an .exe might also be a LCL architectural
> > problem, not necessarily per se smartlinking. Often if units are referenced,
> > init code is run that touches a lot of stuff.
> Yes. There are two LCL design problems with smart linking:
> - published properties/methods needed for RTTI forms
> - the register mechanism of the LCL interfaces

> The first could theoretically be remedied like KOL did.

Which is?

> The later was done to keep the code maintainable.
> Smart linking could be improved a lot, but not without a price.

Btw, I saw expanding RTTI on Verity Stobs and Nick Hodges agenda:



In the CG forums it is also often asked, but the problem with those is that
there is never any discussion about downsides of new features.

More information about the Lazarus mailing list