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.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to