[fpc-devel] Parallel Computing

Florian Klaempfl florian at freepascal.org
Mon Nov 3 17:00:06 CET 2008


Michael Schnell schrieb:
> 
> And writing "parallel" together with "for" is just adding a single
> keyword. Providing easy support for common tasks (such as exploiting the
> benefit of an SMP system) is exactly what everybody expects from a
> decent programming language.

... and as said before, helps usually nothing. As Daniel's examples has
shown MT programming requires deep knowledge about the architecture,
adding a simple parallel keyword usually calls only for trouble because
of race conditions, memory trashing etc. Exploiting the benefits of an
SMP system is _really_ hard and cannot solved easily by the primitive
means of OpenMP.



More information about the fpc-devel mailing list