2 ms·
> 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, m
by signa11 10y ago
> 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.