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

Sergei Gorelkin sergei_gorelkin at mail.ru
Sun May 31 09:29:44 CEST 2009


Inoussa OUEDRAOGO wrote:
> Hi
> 
> At http://blogs.embarcadero.com/abauer/2009/05/29/38888
> 
> This could drastically reduce Lazarus executable size.
> 
Doubt that. Just another feature ported from .NET, the same effect may 
be achieved by changing property accessor to the function which will 
check the existence of the instance and create it if needed. You then 
have an extra check for nil at runtime, *but* it guarantees that 
whatever initialization order won't shoot you in the foot.

Besides, FPC already has the WPO. Has anyone tried it on Lazarus?

Regards,
Sergei



More information about the fpc-devel mailing list