Reputation: 6236
I realize that they are different beast used to solve different problems, but I would like to ask for an enumerated list of advantages of Erlang over node.js (and vice-versa). When would you use one over the other?
Upvotes: 12
Views: 4259
Reputation: 1445
Don't discount the power of Erlang pattern matching. As much as I like JavaScript, this addictive language feature is simply not baked in. It also seems the JS community doesn't quite appreciate the no shared state paradigm. Finally, multi-instances to utilize multi-cores seems retrograde to me.
Upvotes: 4
Reputation: 2706
Erlang is 20 years old, and has been battle-tested many times. Uses all cores on your systems and makes clustering easy.
node.js is still very young, will only use one core per runtime.
And all what Jeremy Wall says.
Upvotes: 11
Reputation: 25237
Erlang is a language and a runtime. I'm assuming you wish a comparison of the erlang runtime with node.js
First I'll list the similarities:
And then then the advantages Erlang has:
Upvotes: 15