News for hackers. Stuff that matters.
Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by 29athrowaway on Tuesday May 18, 2021 @11:52AM (#27196345)
Rails is very productive but it has problems of its own. Many companies move away from Rails once they reach certain growth milestones.

Erlang (and by extension Elixir) is a concurrent language. You use it when you have non-trivial concurrency challenges. When tackling the right problems, the language shines.

Implementing a simple CRUD application with Elixir is overkill, because you can make your servers stateless and delegate most of the concurrency problems to the database.

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by midrus on Wednesday May 19, 2021 @01:21AM (#27204855)
In my personal experience (the last bunch of companies I've been at) that milestone you mention is more like what is the current fashion and what the new hires want to work on because of the latest blog post they've read.

At my previous job we had *ALL* of them. Each service or project you opened you could guess the date it was started because of how it was built. Rails -> Node -> Elixir -> Go -> Next.js and the frontend backbone -> ember -> react (redux -> mobx -> rxjs -> [some other random state lib] -> just context! -> recoil) -> typescript and probably by now they're already using whatever the new trend is by this morning. It is insane.

None of the companies needed any of the performance provided by this tools, in fact, they all struggle with developer productivity more than any other metric, and every time they switch to the new shiny toy, productivity takes another huge cut. But hey, people get paid anyway at the end of the month, so let's keep playing.

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by joelbluminator on Wednesday May 19, 2021 @05:01PM (#27214406)
The CTO should be fired, what the hell. In fact maybe we should start naming the companies (not the CTOs I will respect their privacy) so we can know where NOT to work.
Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by 29athrowaway on Wednesday May 19, 2021 @08:13PM (#27215966)
Next.js is node-based.
Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by joelbluminator on Wednesday May 19, 2021 @05:06PM (#27214454)
I really don't see any reason to move from Rails other than a new CTO trying to shake things up with a tech he's more familiar with. If Shopify/Github/Gitlab/ can build it on Rails so can you. If the monolith is too big you can break it down with engines or to separate apps. Now I like Rails but I would say the same about PHP/Node or most popular stacks. Rewrites to another language are almost always unnecessary.
Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by 29athrowaway on Thursday May 20, 2021 @12:24AM (#27217360)
For many years Github ran on a fork of Ruby and a fork of Rails. Recently they upgraded to Ruby 2.7 and that's what they use now.

https://github.blog/2020-08-25-upgrading-github-to-ruby-2-7/

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by joelbluminator on Thursday May 20, 2021 @01:01AM (#27217566)
It says right in your link "Many years ago, we ran GitHub on a fork of Ruby (and Rails!) and while that hasn’t been the case for some time". So that was a long time ago, what is your point?