3 ms·
Thank you. Put another way, nodejs (except than the VM, granted) has less magic than erlang. At least it seems that way to me having looked at erlang for no mo
by jhuckestein 15y ago
Thank you. Put another way, nodejs (except than the VM, granted) has less magic than erlang.
At least it seems that way to me having looked at erlang for no more than a few hours and using nodejs every day, so take this with a grain of salt :)
- silentbicycle 15y agoIt 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.