Am 25.12.2012 12:38, schrieb Michael Van Canneyt:


On Tue, 25 Dec 2012, Martin Schreiber wrote:

On Tuesday 25 December 2012 11:20:02 Michael Van Canneyt wrote:

Everybody is aware of the speed difference between Delphi and FPC.

The compiling itself (parsing/producing assembler code) is not slow.

From what I remember, the problems you (and everyone else) experience

with smartlinking and so on are largely due to the GNU linker being
slow and memory hungry.

AFAIK there are significant differences in parsing and code producing
too.

I suggest that Florian answers this, he has more exact numbers.


I see no way to speed up the 2.x FPC significantly only by stripping something down or whatever. The whole 2.x design is geared towards portability and maintainability, speed is only 2nd level goal (and being honest, self compilation in ~10 sec even on my >5 year old Core 2 Duo is not that bad ;)).

The only approach I see to speed it up is to kick the whole back end and generate directly some close to i386 intermediate code directly in the parser.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to