3 ms·
Erlang is not a new language, but its ability to do share-nothing distributed computation has only been really useful and topical for the last few years as comp
by KirinDave 18y ago
Erlang is not a new language, but its ability to do share-nothing distributed computation has only been really useful and topical for the last few years as computing power and network presence become increasingly commoditized.
If you're a software engineer who works below the UI layer and you don't know Erlang yet, odds are you're cheating yourself and doing a lot more work than you have to for the same distributed effects.
What's also very refreshing about learning Erlang is that it is already very mature and reliability is a feature built into the runtime over years of practical experience. Unlike switching to a language based around convenience or readability (e.g., Ruby and Python respectively), Erlang's implementation is so solid that you can give it the kind of trust you give–say–your C++ compiler (which is not absolute, but definitely higher than you'd assign to the ruby or python interpreters).
If we as software engineers are lucky, Erlang will become as common as C++ is now over the next 10 years.
- schtog 18y agoOr Haskell...
- ajross 18y agoErlang [...] is already very mature and reliability is a feature built into the runtime over years of practical experience. According to wikipedia, it didn't support scaling to multiple physical CPU/cores until 2006. I'm sure it's reliable. I just think you might be overstating the case here.
- a-priori 18y agoYes, Erlang only got SMP support in 2006. Before then, you had to start one node per CPU to get a similar effect. But regardless, I fail to see how this implies it's not a reliable platform.
- KirinDave 18y agoSMP support postdates distribution primitives. You could still have many thousands of threads, but they weren't stretched over multiple physical CPUs until recently. Still, what I was referring to is that the code is very mature and also the process is designed to give you more reliable results. The entire architecture of the libraries and the language itself are built around the notion of fault-tolerance by people who know what that salsa should taste like.
- michaelneale 18y agoThere is also at least one excellent book on it (probably lots more). Joe Armstrong seems to be a good writer and communicator, it really is a pleasure to learn.