4 ms·
I don't know much about Erlang. Can you explain why it's so easy?
by jamra 12y ago
I don't know much about Erlang. Can you explain why it's so easy?
- polskibus 12y agoMessage passing paradigm and no shared state on one hand, on the other the Open Telecom Platform (OTP) framework that implements many DS behaviours (server, supervisor and supervisor trees, etc.).
- digitalzombie 12y agoErlang VM's does most of of the distribution for you combine that with Erlang's primitive for distribute coding and it's just cheating. The language it self have many construct and primitive for distributed programming that it make it seems like cheating, the code itself is very nice to read once you get the hang of it and you don't have messy code like Node.JS with the nested call back. You first class citizen distributed stuff. Messaging passing and pattern matching for PID for example made stuff easy. Actor model is also easy to mentally solve compare to Node.JS non blocking stuff. I'm only picking on Node.JS because Node.JS and Erlang is what I've used. Mostly Node.js and a little bit of Erlang.
- jamra 12y agoThanks. I just learned Node.js so it made your comment more helpful.