[fpc-devel] Parallel Computing

Michael Schnell mschnell at lumino.de
Mon Nov 3 16:56:26 CET 2008


> I looked into this and it doesn't offer anything sophisticated what
> cannot be done by simple classes and doesn't solve the real problems of
> MT like syncing.
>   
Sorry, I don't want to be a PITA, but I really don't understand

Of course you can do parallel processing with FPC by creating threads 
using TThread and manually distribute the tasks to be done. But the user 
will need to write a lot of code and even using a single TThread is more 
than the average Pascal programmer ever does. Distributing identical 
tasks on multiple thread will go far beyond their scope.

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.

-Michael



More information about the fpc-devel mailing list