News for hackers. Stuff that matters.
Re:Mistakes Node.js Developers Make by davidw on Saturday January 03, 2015 @03:57AM (#8830286)
> block the event loop

This is one of the problems Erlang solves: its internal scheduler keeps things running even if some code ends up in an infinite loop or otherwise misbehaves.

Re:Mistakes Node.js Developers Make by Havvy on Saturday January 03, 2015 @08:56AM (#8830727)
Infinite loops aren't necessarily a form of misbehavior in Erlang. It is how you keep Erlang processes up after all - just spawn a function that calls itself at the end. Though the vast majority of those have a receive statement so that they're not always running.
Re:Mistakes Node.js Developers Make by davidw on Saturday January 03, 2015 @10:17AM (#8830901)
Clearly I was not talking about the normal kind of "infinite loop", but the "malicious" sort.