Live data from Hacker News

The Elixir of concurrency

cfenollosa.com

1–10 of 40 posts

Re: The Elixir of concurrency

#4
Often compared to Rails. However no matter how similar syntax wise, Rails greatest power is its community support. Which in Elixir's case isnt there yet. I do believe in Elixir. However they would need wide adoption to compare with Rails. Edit: I meant Phoenix. Sorry

Re: The Elixir of concurrency

#5
post #2

Hi, author here, I’d appreciate any feedback, I always try to update blog posts with new info and fixes :)

Seeing the section "How to Start" I can't help but mention it doesn't include "How I Start: Elixir" :) http://howistart.org/posts/elixir/1

It's listed under First Projects "Portal Game by José Valim. A complement to the sample project on the official guide."

Re: The Elixir of concurrency

#6
post #5

Earlier quoted context omitted.

Seeing the section "How to Start" I can't help but mention it doesn't include "How I Start: Elixir" :) http://howistart.org/posts/elixir/1

It's listed under First Projects "Portal Game by José Valim. A complement to the sample project on the official guide."

Oh, my bad :)

Re: The Elixir of concurrency

#7
post #4

Often compared to Rails. However no matter how similar syntax wise, Rails greatest power is its community support. Which in Elixir's case isnt there yet. I do believe in Elixir. However they would need wide adoption to compare with Rails. Edit: I meant Phoenix. Sorry

Not to be overly pedantic, but Elixir is a language and Rails is a framework built with Ruby. As I understand it, ELixir is more popular at this point in its life than Ruby was when it was the same age. With respect to Rails the ELixir equivalent would probably be Phoenix, which is a wholly different beast. It is just past 1.0 and is already very productive and growing in popularity. While the community isn't large per se, it's growing. Additionally I think it caters to a different audience.

Re: The Elixir of concurrency

#8
post #4

Often compared to Rails. However no matter how similar syntax wise, Rails greatest power is its community support. Which in Elixir's case isnt there yet. I do believe in Elixir. However they would need wide adoption to compare with Rails. Edit: I meant Phoenix. Sorry

What is the point of comparing Rails to Elixir? You can compare Phoenix to Rails. Elixir/Phoenix has obviously a smaller community (but very welcoming and supportive and growing extremely rapidly). There are classes of problems you can not solve with RoR period.

Re: The Elixir of concurrency

#9
I just started a new project in Elixir (aimed at systems administrators), and am very excited about using it for what it is good at, and breaking out to system for what it's not good at.

To the author, this is one of the best summary writeups I have seen on it, and I read every elixir thing that comes across hn or elixir radar. I think there should be more emphasis that just because elixir doesn't necessarily do computationally heavy stuff easily, there is nothing to stop you from using elixir as the job handler and then use something else for the heavy part.

There are also some things which I think might do well in elixir we might not think of. For example, on the irc chan I was told if you call a system call from elixir/erlang you lose the concurrency... so why not write somethings in elixir that were in system, for example, icmp/snmp query?

Re: The Elixir of concurrency

#10
I'm sorry you had such a hard time getting into Elixir. Dave Thomas's book on Elixir is a very good introduction and there are a few other Elixir books out there that can get you started really quickly.

The issue really starts when you start writing web servers. I always advise that anyone who wants to start using Phoenix learns how to use Plug first. Phoenix is very macro heavy which can give that magic-is-happening feeling when you run your app, but looking through the Phoenix source code and using Plug is a great way of getting your head around what is actually happening behind the scenes.

Elixir is incredibly powerful and I find myself being more productive with it than with most other languages. TDD and integration testing is also surprisingly easy.

Post reply on HN