Hacker News new | past | comments | ask | show | jobs | submit login

Aside from the latter having a smaller dev environment and community, what's the status of Rails vs Phoenix (Elixir)? Not trying to start a war (I like both)—just wondering if this release changes things.



Phoenix and Elixir are trucking along nicely. Elixir 1.3 is on release candidate, as is Ecto 2.0 and Phoenix 1.2.

The big feature of Phoenix 1.2 is channel presence: https://dockyard.com/blog/2016/03/25/what-makes-phoenix-pres...

Whats coming in elixir 1.3: http://tuvistavie.com/2016/elixir-1-3/

Ecto 2.0: http://blog.plataformatec.com.br/2016/02/ecto-2-0-0-beta-0-i...

Other than that the community is growing at a healthy pace. Hex packages have gone from 1000 to over 2000 in the last 6 months.


The problem with hex.pm is that it doesn't distinguish Elixir and Erlang packages so the total is a mixture of both which is not very useful.


Why is it not useful? You can drop erlang packages straight into Elixir projects without any issue.


I meant not useful in terms of gauging the output of the Elixir community.


That should make no difference at all. Having Erlang packages alongside Elixir ones, incorporating them seamlessly into mix, is a massive plus.


I like how phoenix is evolving but is it really ready for production?


Yep. Companies worth hundreds of millions have been relying on Phoenix for well over a year now. Also Phoenix has been 1.0 since August last year.


Absolutely, Bleacher Report and I believe Pintrest are both using it in production.

Here is a full list of companies using elixir: https://github.com/doomspork/elixir-companies


As an employee of Bleacher Report - yup, we use it a LOT. Everyone loves it.

It's most useful for our services (our consumer facing app is Rails atm) but it's great.


I've uploaded some metrics that compares the two at

http://imgur.com/a/ywdbm

Churn in the images are lines added, changed and deleted that does not involve blank/comment lines.


I've been enjoying just thinking about problems differently. I know it doesn't sound like much but elixir has been my first foray into functional programming and it's been really fascinating to digest.

I'm looking forward to wrapping my mind around Phoenix and already planning to do a small subscription app with it where it happens to be a perfect fit.


I was just thinking about this today. My hunch is that Rails isn't hurting. I havent heard anyone talk about Phoenix in months.


My guess is that you'll see people who were hitting the limitations of Go end up moving to Phoenix. For Rails users coming to it there are still too many "library x for Phoenix" questions out there.

Elixir is great but it's still not ruby. Much like Go, it's not something you can fully appreciate until you've seen the limitations of other approaches first hand. There are so many things that Phoenix and Elixir do that solve major long term problems and ruby's biggest selling point is usually the short term.


I've been developing for Rails since around the 1.2 days. For me, ActionCable seems to excite a lot of Rails developers, but it's no Elixir.

2015 is a watershed year for the Elixir ecosystem. It was like this back in the Rails 1.2 days. Back then, people said the same thing about Ruby. "Ruby is great, but it's still not X."

The idea that Rails is very fast for doing quick development is, at this point, a myth. It takes thoughtfulness to write good code, regardless of the language. There's this idea that you can put together a prototype quickly, but in the wild, it ends up being a repository of sloppy code resulting from fuzzy, superficial thinking.

Another situation I have seen is this the "perpetual MVP". That is, sacrificing code quality because you don't know if the product is even something that people want. However, when your MVP has users and it starts getting traction, it's not an MVP anymore. The fragility that comes from sloppy coding comes back to bite you. I think developers confuse Ruby's agility with their own sloppiness.

I think Elixir is interesting not just because it solves those long term problems, but it is also as agile in the short term -- provided that you are not a sloppy coder.


I can't disagree with any of that. The biggest thing around prototyping for Rails at least is how close it comes to aspect oriented program thanks to the ability to pull in libraries that inject themselves across multiple points of your application, like Devise for example.

That and the ability to monkey patch something from a 3rd party library without breaking your upgrade path, having to fork it or needing to adjust the entire inheritance chain. It's not good practice to do too much but knowing you can make using all those gems a lot easier.


This is my main issue with Rails; this feeling that every project that I'm working on is a rolling protptype. It's so, so easy to build out the initial functionality, then it becomes a slog, and I guess that's very much down to how monolithic Rails is


"you'll see people who were hitting the limitations of Go end up moving to Phoenix"

This is oranges and apples. First, you're comparing a language to a framework. Second, use cases for these two barely overlap. I'm a huge fan of Go and I started using Phoenix for web development and I can't really think of a scenario where I'd have to think which one to choose for a particular job.


You've been hanging out with the wrong crowd.

In the circle I'm running in, Elixir and Phoenix are way bigger news than Rails 5.


Elixir and Phoenix with the underlying Erlang oecosystem is a different world in a positive sense. With Rails you will never get there. If you have the freedom, go the Phoenix way, it will enable you to do much larger things.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: