Re:Comparing Erlang and Node.js
by silentbicycle on Tuesday May 10, 2011 @08:34AM
(#2532210)
It wasn't a compliment. :)
Erlang has a scheduler which automatically makes intelligent tuning based on dataflow in ways that are realistically impossible for anybody to do managing callbacks by hand. They aren't "magic", they just take into account a fairly simple cost-per-action model ("reductions") and whether a process is active, has messages to process, or is blocking with an empty mailbox.
Erlang has a scheduler which automatically makes intelligent tuning based on dataflow in ways that are realistically impossible for anybody to do managing callbacks by hand. They aren't "magic", they just take into account a fairly simple cost-per-action model ("reductions") and whether a process is active, has messages to process, or is blocking with an empty mailbox.