News for hackers. Stuff that matters.
Re:Elixir obsoletes Ruby, Erlang and Clojure in one go by mooreds on Sunday January 31, 2016 @10:40PM (#11009584)
As someone who has little experience with any of these, would love to hear some experienced folks give feedback on these claims.
Re:Elixir obsoletes Ruby, Erlang and Clojure in one go by pmarreck on Saturday February 13, 2016 @07:22PM (#11096423)
https://engineering.pinterest.com/blog/introducing-new-open-...

"So, we like Elixir and have seen some pretty big wins with it. The system that manages rate limits for both the Pinterest API and Ads API is built in Elixir. Its 50 percent response time is around 500 microseconds with a 90 percent response time of 800 microseconds. Yes, microseconds.

"We’ve also seen an improvement in code clarity. We’re converting our notifications system from Java to Elixir. The Java version used an Actor system and weighed in at around 10,000 lines of code. The new Elixir system has shrunk this to around 1000 lines. The Elixir based system is also faster and more consistent than the Java one and runs on half the number of servers."

These are pretty strong claims, I think.

Re:Elixir obsoletes Ruby, Erlang and Clojure in one go by smt88 on Sunday January 31, 2016 @10:58PM (#11009670)
The best way to find out if you like Elixir is to give it a try.

You could do a poll of every developer and still have a different experience yourself. Most designers of new-ish languages know that accessibility is crucial to adoption, so they make it easier than you might think.

I personally have used lots of dynamic and static languages, and I will never go back to dynamic typing if I can help it. It's just a disaster when the code base gets really large and/or mediocre developers are working on it. For teams, the stricter the language is, the better. That's why I'm really enjoying TypeScript for now and looking forward to using Rust in the future (both for backend web development).

I'm about to embark on some experiments with isomorphic TypeScript apps, and that might be pretty revolutionary (and postpone my Rust experiments) because it allows me to use one pretty great language for the whole stack.

Re:Elixir obsoletes Ruby, Erlang and Clojure in one go by iends on Sunday January 31, 2016 @11:29PM (#11009777)
Elixir is nice, it's a nice functional language that's built on top of a rock solid platform for building realtime and distributed systems. It's a relatively new language on the block though, so the ecosystem is a bit lacking. Both Node.js and the JVM ecosystem are battle tested platforms that allow you to build the same type of applications you'd use for Elixir. Both can handle 10k connections (of course many platforms can...). It seems like at this point to get the same level of tooling and libraries with Elixir you need to be comfortable with Erlang, or at least consuming it as a library.

Another competitor is Go. People are afraid of functional languages because they think they are difficult to grasp and Go wins here because it is dead simple. Some say too simple, but any developer can get up to speed with it pretty quickly. It also has a better concurrency store than Node and some of the JVM languages. It's concurrency story is not as good as Erlang or Elixir, but in reality, many business and problems don't need that.

I think the market is going to pick something other than Elixir. I think it's going to be Go for a large set of problems (for many reasons) but for many problems people are going to stick with Java or JavaScript because they are ubiquitous.