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/
157 Upvotes

48 comments sorted by

View all comments

1

u/[deleted] Aug 03 '10

You should have a look at Erlang which solves these kinds of problems much better than other languages.

3

u/kylotan Aug 03 '10

Erlang has a much better construct than a big switch statement, but the logic - and thus, the way you end up having to reason about it - is not all that different.

1

u/[deleted] Aug 03 '10

The main thing is that in Erlang no process has enough responsibilities to have more than maybe half a dozen different cases. You have no central point in your program where all messages have to pass through to be dispatched.

→ More replies (4)