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

2009-06-05 Thread Jonas Maebe
On 31 May 2009, at 11:35, Jonas Maebe wrote: 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

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

2009-06-05 Thread Paul Ishenin
Jonas Maebe wrote: All programs are stripped. As you can see, wpo can now remove about 61kb (before, wpo gained 8kb). Still not very much. The reason that you need several iterations to get all possible savings, is that the compiler only records calls to virtual methods from code that is

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

2009-06-05 Thread Jonas Maebe
On 05 Jun 2009, at 17:47, Paul Ishenin wrote: Jonas Maebe wrote: All programs are stripped. As you can see, wpo can now remove about 61kb (before, wpo gained 8kb). Still not very much. The reason that you need several iterations to get all possible savings, is that the compiler only

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

2009-06-05 Thread Daniël Mantione
Op Fri, 5 Jun 2009, schreef Paul Ishenin: How difficult is to teach compiler to remove them during compilation? I sense a hope that somehow the compiler developments will ultimately be able to turn large Lazarus executables into small ones. It is not realistic. The WPO features Jonas is

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

2009-06-05 Thread Paul Ishenin
Daniël Mantione wrote: How difficult is to teach compiler to remove them during compilation? I sense a hope that somehow the compiler developments will ultimately be able to turn large Lazarus executables into small ones. It is not realistic. No, I expect just another 60Kb size decrease for

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

2009-06-05 Thread Mattias Gaertner
On Fri, 5 Jun 2009 18:44:37 +0200 (CEST) Daniël Mantione daniel.manti...@freepascal.org wrote: Op Fri, 5 Jun 2009, schreef Paul Ishenin: How difficult is to teach compiler to remove them during compilation? I sense a hope that somehow the compiler developments will ultimately be

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

2009-06-05 Thread Jonas Maebe
On 05 Jun 2009, at 18:58, Mattias Gaertner wrote: I think you guys are doing a great job. From 93MB with debugging info down to 9mb is quite a big step. Especially since 2mb are icons and images. I don't think that it's useful to include debugging information in any comparisons. Especially

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

2009-06-05 Thread Jonas Maebe
On 05 Jun 2009, at 18:44, Daniël Mantione wrote: The WPO features Jonas is working on are very promising, and I think he is doing something unique, I know no competing compiler that does it. I know that method devirtualisation is done at least in JVMs from IBM (and probably also in