[fpc-devel] Comparison FPC 2.6.2 - Delphi 7

Florian Klaempfl florian at freepascal.org
Sat Mar 2 16:27:55 CET 2013


Am 02.03.2013 16:23, schrieb Marco van de Voort:
> In our previous episode, Florian Klaempfl said:
>>>> Better parallize the building using some build units. Then it will be
>>>> probably compiled in less than 10 sec on a modern CPU.
>>>
>>> Better paralellize the compiler :-)
>>
>> In theory yes but I still fear that the threadvars and synchronization
>> eats much of the advantage in this case.
>
> I don't see why there would be more synchronization overhead than make?

In a parallelized compiler symtables etc. might be shared and this might 
require a lot of synchronization to prevent data corruption.
With make, the different units can be seperated much better by a human 
than the compiler can do.

Not to mention the huge effort it would be to get the compiler 
parallelized internally.




More information about the fpc-devel mailing list