Forum > FPC development

Compiling/linking speed still not on par with Delphi

<< < (2/3) > >>

v.denis:

--- Quote ---In Lazarus 1.4 you can install fpdebug (beta) and that will be a bit faster.
--- End quote ---
I'd say it is much faster start time. I really appreciate yours and Joost's work on it.

I think Delphi symbol loading is not very noticeable, because it caches unit information. I'm not very sure here. Though it costs RAM. Delphi can run out of memory on really big projects.

JuhaManninen:

--- Quote from: tk on March 04, 2015, 09:11:37 am ---Is the only reason that prevents us to switch to Lazarus entirely...

--- End quote ---

How long does it take for your project then? For me it is hard to believe that compiling + linking time with FPC on modern machines could be a problem. We are talking about tens of seconds maybe. The big Lazarus project itself takes over 2 minutes to build clean, but a clean build is rarely needed. Normal builds are ~10 - 20 sec.

At least I use most time scratching my head and thinking how to implement something. The compilation time is irrelavant.
Things were different at 1990's. Then both computers and C-compilers were slow. You could start compiling a big C-project, go for luch, come back and the compilation still went on ...
Yes, TP and Delphi shined already then. Then it made a big difference but not any more really.

Scoops:
Hi All,

Personally I have never even posed the question about Delphi/Lazarus compile times,
I started off with Borland C++ and just a little change to get everything spot on would
take ages, Delphi 7 is super fast but its old, so even if Lazarus/FPC takes a little longer
its because its continually being updated to support UTF-8 etc etc etc.  And who wants to
buy a New Delphi XXXX which costs a fortune ... Stick with the Community and support Lazarus.

Leledumbo:

--- Quote from: tk on March 04, 2015, 09:11:37 am ---Is the only reason that prevents us to switch to Lazarus entirely...

--- End quote ---
This is the first time I see a person refusing his applications to go cross platform and cross widgetset just because of a few seconds (and it's only for the first compilation, further compilations should only take a blink of an eye) of compile time. Even for runtime it's still questionable unless the code runs for weeks or months.

Martin_fr:

--- Quote from: tk on March 04, 2015, 09:11:37 am ---Found this thread:
http://forum.lazarus.freepascal.org/index.php/topic,958.0.html

Is there any development progress in this regard?
At least on Win?
Is the only reason that prevents us to switch to Lazarus entirely...

--- End quote ---

1) there is some development yes. If you use many packages and all of them need to be compiled, then Lazarus now uses threads and that speeds up the process. Only works for packages though.

2) Rather than (or in addition to) linking to another thread, tell us what you experience.
How many units of which size has your project?
How long does it actually take?
Is the slow part for you the linking too?

Also how much (free) memory do you have? Linking needs serious memory, or it will indeed get very very very slow.



Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version