[Lazarus] Multi-threading support in IDE

Marco van de Voort marcov at stack.nl
Fri Aug 14 14:48:15 CEST 2009


On Thu, Aug 13, 2009 at 11:09:02PM +0200, Hans-Peter Diettrich wrote:
> Graeme Geldenhuys schrieb:
> 
> > Does Delphi or Kylix have the compilers built-in or do they work similar 
> > to Lazarus IDE?
> 
> AFAIK the Delphi IDE comes with an built-in compiler. 

A dll. Not statically built in. Afaik cmdline and IDE use the same DLL

> This may change 
> with the announced 64-bit/cross compiler, and may be the reason for the 
> long release delay of that new feature.
> 
> BTW, when the compiler has to read and write disk files, a separate 
> thread will not speed up much. Then the compiler thread will be idle 
> much time, waiting for disk I/O, and the main thread will be idle, 
> waiting for the compiler. IMO.

Yes, but basic units could be cached. Also the cache of dirsearches would
persist.

Moreover you win process startup time (which can be quite significant on
windows)




More information about the Lazarus mailing list