[fpc-devel] Delphi smart-linking perspective ( Language change and implementation ... )

Paul Ishenin webpirat at mail.ru
Sun May 31 10:38:45 CEST 2009

Jonas Maebe wrote:
> I don't think it is very specific to .NET. We use similar techniques 
> for e.g. cthreads and cwstring under Unix. And I also used it in the 
> fix for http://bugs.freepascal.org/view.php?id=12704
So will be this added to the fpc?
> WPO can sometimes help a little in such situations, but not very much.
>> Has anyone tried it on Lazarus?
> Yes, the but the results are not very impressive. The reason is due to 
> the way the LCL is constructed, almost every declared class can 
> theoretically be instantiated. On the other hand, I read that recently 
> the LCL was restructured a bit to improve the situation, so maybe the 
> results would be better now.
Yes, we made a refactoring and as result empty form + button application 
weights 200Kb less now. Can you check, maybe now WPO results can be more 

Best regards,
Paul Ishenin.

More information about the fpc-devel mailing list