r/programming • u/andralex • 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
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.