Page 2 of 2

Posted: Wed Aug 25, 2010 1:42 am
by dreadlorde
mh wrote:I predict that whichever OS wins the next round of the war will be the one that gets a really good multithread API first
<3 Tony Hoare's CSP.

Posted: Wed Aug 25, 2010 2:37 am
by frag.machine
The biggest problem isn't poor hardware support or the current multi thread APIs. The real problem is in our inadequate way to think always in a single, sequential line to solve our programming problems.

Modern languages like C#, Java and Scala already have a lot of nice support to parallel processing. Heck, back in the 80's there were already a really cool and simple language called occam (as in Occam's Razor) that was inherently parallel (check Wikipedia for more info about, it's a fascinating read) to the point of requiring that you should explicitly identify any part of the code that were supposed to be executed in a sequential way. But we need to think radically different to resolve problems with parallelism, and this is hard. You need to discard a lot of experience and common wisdom to do good use of this. So basically, we are the cern of the problem.

Posted: Sun Aug 29, 2010 8:54 pm
by dreadlorde
frag.machine wrote:Heck, back in the 80's there were already a really cool and simple language called occam (as in Occam's Razor) that was inherently parallel (check Wikipedia for more info about, it's a fascinating read)
It used CSP. :)