Link Details

Link 106978 thumbnail
User 111696 avatar

By bloid
via fpgacomputing.blogspot.com
Published: Aug 26 2008 / 13:11

A month ago, Charles Leiserson wrote a post on the Multicore Blog at Cilk Arts called "The Folly of DIY Multithreading." He provides pthreads and Cilk implementations of a parallel fib() function and offers great advice in his article: "Building a concurrency platform from scratch is a mountain to climb." Professor Leiserson mentioned the Therac-25 radiation therapy machine in his post. In 6.033, every MIT CS student learns about the how thread interlocking can lead to confuddling system errors that can kill people. Clearly threads should be considered harmful. Professor Leiserson argues that using a multithreading platform like Cilk will help you address these harmful side-effects of multithreading.
  • 11
  • 5
  • 903
  • 277

Comments

Add your comment
User 281687 avatar

paul_houle replied ago:

0 votes Vote down Vote up Reply

Good argument, but alternative concurrency programming paradigms have yet to "cross the chasm." He's enthusiastic about the dataflow paradigm: research in dataflow machines crashed and burned in the 1980's when they were discovered to have liveness problems. Perhaps he's thinking more about stream processing.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.