News for hackers. Stuff that matters.
Re:Why Events Are A Bad Idea For High-Concurrency Servers (2... by dozzie on Friday May 02, 2014 @04:31AM (#7684627)
> Once your process starts using threads, suddenly every bit of state in it can be shared by all threads.

Only when you use highly inconvenient model of shared memory. Message passing and shared-nothing combined, as it is done in Erlang or Go, are way easier to reason about, giving at the same time more natural way of structuring code than events handling.

Re:Why Events Are A Bad Idea For High-Concurrency Servers (2... by joosters on Friday May 02, 2014 @05:28AM (#7684749)
I agree! It's a shame that the most common concurrent programming models are a choice between share-nothing (fork) and share-everything (threads). Anything that gives a programmer something between the two extremes is an improvement.
Re:Why Events Are A Bad Idea For High-Concurrency Servers (2... by merijnv on Friday May 02, 2014 @06:00AM (#7684825)
Or when using the highly inconvenient model of mutable state ;)

Purely functional language can share state between threads just fine, since any state will be immutable (barring any explicit communication primitives).