[fpc-devel] Re: Comparison FPC 2.6.2 - Kylix 3

luiz americo pereira camara luizmed at oi.com.br
Mon Mar 4 17:46:07 CET 2013


2013/3/4 Daniƫl Mantione <daniel.mantione at freepascal.org>:
>
>
> Op Mon, 4 Mar 2013, schreef luiz americo pereira camara:
>
>
>> Is the bigger code just a side effect of a cross platform RTL or the
>> generated code is really bigger / slower?
>

[..]

>
> Code generation quality is another factor. While FPC has in absolute terms
> more optimization power than Delphi, it misses a few crucial optimizations.
> For example, we don't have loop induction, which allows Delphi to beat FPC
> in code that stresses this.
>
> Further, especially regarding Lazarus, the design of the LCL simply means
> that a lot of code is pulled into the executable. The Delphi VCL offers more
> possibilities for smart linking away unneeded code.
>

Thanks for the response. It clarified me.

Just a note. The Martin test, and my question in general, is not
affected by LCL so the LCL size overhead is not relevant here

Luiz



More information about the fpc-devel mailing list