[Lazarus] Multi-threading support in IDE

Graeme Geldenhuys graemeg at opensoft.homeip.net
Thu Aug 13 20:24:59 CEST 2009


Vincent Snijders wrote:
> 
> Yes, it is more efficient. The fp ide also doesn't create a new process.

Interesting, I'll take a peak at that.


> The disadvantage of using the same process is that the coupling is much 
> tighter: No easy switching between compiler versions, and crashing the 
> compiler crashes the IDE.

Can somebody that is more familiar with the internals of the Lazarus IDE tell me, would it be hard to implement the IDE with FPC built in, so that compiling can be done in a separate thread instead of separate process? I'll do the work of course - if it's not a major job. ;-) 

This would simply be an exercise to fulfill my own curiosity. Maybe if it works well and does not require to much code changes, it could be wrapped in IFDEF's for more advanced users that want to try it for themselves.

Possible or not (in the Lazarus IDE), I'll take a look at the FP IDE to see how such an integration works. All in the name of learning multi-threading. ;-)

PS:
Does Delphi or Kylix have the compilers built-in or do they work similar to Lazarus IDE?

 
Regards,
 - Graeme -

________________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/





More information about the Lazarus mailing list