Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Programming

What Makes Parallel Programming Difficult? 196

An anonymous reader writes "Intel's Aater Suleman writes about why parallel programming is difficult. ... I was unaware ... that a major challenge in multi-threaded programming lies in optimizing parallel programs not just getting them to run. His analysis is insightful and the case study is very enlightening if you are unfamiliar with parallel code debugging. "
This discussion has been archived. No new comments can be posted.

What Makes Parallel Programming Difficult?

Comments Filter:
  • Re:unaware? WTF? (Score:5, Insightful)

    by Mongoose Disciple ( 722373 ) on Friday May 27, 2011 @03:39PM (#36266416)

    synchronization with data separation, mutex's and avoiding deadlocks and race conditions has been solved since almost the beginning of parallelism

    And yet people constantly get these details wrong in practice.

    It's an extra layer of complexity and it introduces extra chances to make mistakes, even around areas where a programmer could know better. There's not much way around that. If people only made coding mistakes around difficult problems software would be dramatically more bulletproof than it actually is.

  • by Anonymous Coward on Friday May 27, 2011 @03:43PM (#36266456)

    That you have to do everything all at once. How would you tell 50 kids to sort 50 toy cars? How would you tell 50 footballers to line up by height all at once? How would you have 50 editors edit the 50 pages of a screenplay all at once so that it makes sense from a continuity perspective? All these problems are very easy, but become very hard when you have to do it all at once...

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...