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.

That's true. The general problem is not that the IDE is not responsive when compiling/linking but that compiling/linking takes so long. If it would be as fast as in Delphi noone would complain.

And having compiler and linker in separate (asynchronous) threads would be the same as starting them as a new process in asynchronous mode. It would open a can of worms because of synchronising problems.

I would not mind to wait until compiling has finished if it would only be faster.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to