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

2009-05-31 Thread Sergei Gorelkin
Inoussa OUEDRAOGO wrote: Hi At http://blogs.embarcadero.com/abauer/2009/05/29/3 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

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

2009-05-31 Thread Jonas Maebe
On 31 May 2009, at 09:29, Sergei Gorelkin wrote: Inoussa OUEDRAOGO wrote: Hi At http://blogs.embarcadero.com/abauer/2009/05/29/3 This could drastically reduce Lazarus executable size. Doubt that. Just another feature ported from .NET, I don't think it is very specific to .NET. We use

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

2009-05-31 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: Inoussa OUEDRAOGO wrote: Hi At http://blogs.embarcadero.com/abauer/2009/05/29/3 This could drastically reduce Lazarus executable size. Doubt that. Just another feature ported from .NET, I don't think it is very specific to .NET. We use

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

2009-05-31 Thread Paul Ishenin
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

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

2009-05-31 Thread Daniƫl Mantione
Op Sun, 31 May 2009, schreef Jonas Maebe: 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

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

2009-05-31 Thread Jonas Maebe
On 31 May 2009, at 10:38, Paul Ishenin wrote: Jonas Maebe wrote: 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 impressive? Still quite minimal results. But unless I'm misremembering, it

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

2009-05-31 Thread Paul Ishenin
Jonas Maebe wrote: Still quite minimal results. But unless I'm misremembering, it seems that the size of the application itself has grown a lot. An empty form with a button now results in an application of 1.8MB (Carbon/i386). I thought it was closer to 1.1MB the last time that I tried this

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

2009-05-31 Thread Marco van de Voort
In our previous episode, Paul Ishenin said: Jonas Maebe wrote: Still quite minimal results. But unless I'm misremembering, it seems that the size of the application itself has grown a lot. An empty form with a button now results in an application of 1.8MB (Carbon/i386). I thought it

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

2009-05-31 Thread Jonas Maebe
On 31 May 2009, at 11:42, Paul Ishenin wrote: Jonas Maebe wrote: Still quite minimal results. But unless I'm misremembering, it seems that the size of the application itself has grown a lot. An empty form with a button now results in an application of 1.8MB (Carbon/i386). I thought it

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

2009-05-31 Thread Florian Klaempfl
Jonas Maebe schrieb: 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

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

2009-05-31 Thread Jonas Maebe
On 31 May 2009, at 19:34, Florian Klaempfl wrote: Jonas Maebe schrieb: 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

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

2009-05-31 Thread Marco van de Voort
In our previous episode, Florian Klaempfl said: 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. Also note that WPO can do little about published methods (since it

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

2009-05-31 Thread Florian Klaempfl
Marco van de Voort schrieb: In our previous episode, Florian Klaempfl said: 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. Also note that WPO can do little about

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

2009-05-31 Thread Marco van de Voort
In our previous episode, Florian Klaempfl said: Also note that WPO can do little about published methods (since it must assume that these can all be called via RTTI). Maybe the IDE can feedback some info about used classes and methods? In time, a pascal analyser would be a good thing

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

2009-05-31 Thread Jonas Maebe
On 31 May 2009, at 21:27, Marco van de Voort wrote: Yeah, I got it when I saw Jonas' reply. The IDE could list all visual components in forms in a file and hand it to the compiler. And a custom list could allow additional streaming types (for users code) Either the IDE has to be able to

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

2009-05-31 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: Yeah, I got it when I saw Jonas' reply. The IDE could list all visual components in forms in a file and hand it to the compiler. And a custom list could allow additional streaming types (for users code) Either the IDE has to be able to