[fpc-pascal] making FPC more code optimized

Florian Klämpfl florian at freepascal.org
Sun Apr 29 12:22:21 CEST 2012

Am 29.04.2012 11:40, schrieb ik:
> Hello,
> Here is something that I'm asking without really know anything about
> the subject, so please bear with me.
> I'ved asked few places that works with Pascal (Delphi and FPC), why
> does they use C as the infrastructure, and they all say that there is
> not even one Pascal compiler that makes the code optimized and fast
> running with low resources, while many C compilers does have such
> features.
> For them it's not the language, but the compilers that are problematic.
> I'm not talking about "killer feature" that never exists, but what
> stops FPC and/or other Pascal compilers to be more optimized, with
> lower footprint, 

Regarding footprint, FPC is far ahead of everything:


> faster code like with C compilers for example ?

Spent more man power into optimizer development, though some
optimizations are hard in pascal because we assume stricter aliasing
rules and because we don't have a volatile keyword.

More information about the fpc-pascal mailing list