Re:“Node.js is one of the worst things to happen to the soft...
by signa11 on Tuesday August 23, 2016 @05:10AM
(#12342339)
> I don't see anything wrong with Node's approach to concurrency.
to me, erlang's model seems to be the best one that is around. without a runtime scheduler, message boxes + selective receive etc., i don't really think it is possible to do justice to the whole csp thingy.
you can have approximations to it, but that doesn't go very far.
for example, in erlang, i can start processes etc. and have them run essentially
while(1) {
}
and nothing really bad happens to other concurrently running threads.
to me, erlang's model seems to be the best one that is around. without a runtime scheduler, message boxes + selective receive etc., i don't really think it is possible to do justice to the whole csp thingy.
you can have approximations to it, but that doesn't go very far.
for example, in erlang, i can start processes etc. and have them run essentially
and nothing really bad happens to other concurrently running threads.