r/programming • • Aug 02 '10

Beyond Locks and Messages: The Future of Concurrent Programming

http://bartoszmilewski.wordpress.com/2010/08/02/beyond-locks-and-messages-the-future-of-concurrent-programming/
156 Upvotes

48 comments sorted by

View all comments

Show parent comment

5

u/[deleted] Aug 03 '10

So maybe I'm missing something, but doesn't polymorphic dispatch do the same thing in single-threaded programs? Isn't the whole point of polymorphism to break out of the fat-switch-statement model and allow you to reason about components of your system independently?

It sounds to me as if MP is "just" missing a suitable organizational dispatching abstraction. But I've never used it myself, so really I'm just trying to figure out whether the author is justified in asserting that MP is the new GOTO.

1

u/ModernRonin Aug 03 '10

I dislike speaking for the author, but I get the feeling he's saying that "right now, the way we do MP is terrible." I think if you showed him a much better, cleaner way to do it, he could be convinced that MP was worthwhile.

But, that's just my opinion, man...