News for hackers. Stuff that matters.

Ask HN: Is Ruby/RoR Dead?

Hi guys! Was just wondering, are there any new hot startups out there that start with Ruby on Rails, or is it considered a thing of the past now?
( 9 comments | 3 points | on HN )
Re:Ask HN: Is Ruby/RoR Dead? by detaro on Sunday September 29, 2024 @02:27PM (#41689321)
Something being dead and something not being choosen by "new hot startups" are not the same thing...
Re:Ask HN: Is Ruby/RoR Dead? by sibeliuss on Sunday September 29, 2024 @01:50PM (#41689023)
Its still around, but declining. I sure wish it had types.
Re:Ask HN: Is Ruby/RoR Dead? by Alifatisk on Thursday October 03, 2024 @04:53AM (#41728681)
Sorbet / RBS?
Re:Ask HN: Is Ruby/RoR Dead? by sibeliuss on Thursday October 03, 2024 @06:21PM (#41735714)
Just doesn't cut it... Give me python 3 style typing at the least. Nobody wants external file decorators.
Re:Ask HN: Is Ruby/RoR Dead? by Alifatisk on Friday October 04, 2024 @04:58AM (#41739308)
I'd love to have Python3 style typings in Ruby, but I think they refused the idea because backwards compatibility?

I think the closest gem that achieves this is contracts. https://github.com/egonSchiele/contracts.ruby?tab=readme-ov-...

Re:Ask HN: Is Ruby/RoR Dead? by Lio on Friday October 04, 2024 @06:31AM (#41739946)
Sorbet can be used inline without external file decorators already and RBS is adding support too[2].

I would not be surprised if that typing information starts finding its way into YJIT for performance improvements.

1. https://sorbet.org/docs/type-assertions

2. https://github.com/soutaro/rbs-inline

Re:Ask HN: Is Ruby/RoR Dead? by zhalz on Sunday September 29, 2024 @02:07PM (#41689161)
I switched from Next.js/React to Rails for my side projects due to JS ecosystem fatigue. Anecdotally, I've noticed some people making the same move. The open-source finance app Maybe is one that pops up on a lot of searches.

imo Rails has been having a bit of a revival ever since v7 introduced a cleaner approach to front end development with Hotwire (specifically, Turbo and Stimulus) to get SPA-like behavior with relatively little effort. What I love about modern Rails is that it's an evolving framework that is still anchored to a consistent vision for developer productivity. Now with 8.0 having just been released, Rails is increasing built-in support for deploying outside managed providers like AWS.

I can't speak for whether it's going to see a resurgence among big companies other than famous users like Shopify, but I can't see myself using Next over Rails for any of my personal projects, even as someone who writes JavaScript and React code professionally.

Relevant links: - Maybe moves to Rails: https://github.com/maybe-finance/maybe/wiki/Moving-from-Reac... - Rails 7.0 release announcement: https://rubyonrails.org/2021/12/15/Rails-7-fulfilling-a-visi... - Hotwire: https://hotwired.dev/ - Rails World 2024 Keynote w/ DHH, introducing Rails 8: https://www.youtube.com/watch?v=-cEn_83zRFw - Rails 8.0 Beta: No PaaS Required https://rubyonrails.org/2024/9/27/rails-8-beta1-no-paas-requ...

Re:Ask HN: Is Ruby/RoR Dead? by imhoguy on Wednesday October 02, 2024 @08:41AM (#41719943)
Nope. I was full-stack dev in the past before I got burned by JS complexity proliferation. After almost decade of hiding in devops/backend development I see the light in tunnel and I am coming back for RoR8 now with new energy. Reviving my neglected side-SaaS.
Re:Ask HN: Is Ruby/RoR Dead? by Alifatisk on Thursday October 03, 2024 @04:53AM (#41728688)
I kindly refer you to https://isrubydead.com