How can Rails live long if no one creates new things with it? Our web applications aren't like the Pyramids at Giza. DHH literally said that even without a blank canvas (Hey's backend) they were still able to re-write the backend in Rust and are not looking back.

That sure sounds like any savvy business should pivot away from Rails and Ruby in general as fast as they can, assuming they have tokens to burn. Personally, I built my career on Python, but any new thing I build is almost always in Go or Rust. Why mess with an interpreter if you don't have to?

Having built two apps in the last two years using Rails (one making front page on Hacker News and has 10,000 plus users), there is a sweet spot that Rails hits that other frameworks don’t.

The fact that you get so much out of the box that just works and you don’t have to do much beyond configure it reduces a ton of headaches.

Absolutely would rather be using Go instead of Ruby but for apps of a certain kind and size, the omakase approach of Rails still wins out.

He clarified today, saying he would build any new app today in Rails. Should that app become so popular that it would benefit from Rust, he would rewrite it in Rust.

Oh well that's... um.

Source?

According to the schedule, today had a keynote on "AI and the future of Ruby & Rails — a chat with Matz & DHH". I suspect that might have clarified, but sadly they don't seem to have released a video (yet?)

This might just be damage control or politeness more than the truth.

I agree with him. All software should be written in safe languages, but there is a wide selection available. For new projects you should pick a language that does as much for you as possible. Ruby and Rails both go out of their way to provide the developer with as much power as they can. They make development less expensive. That’s exactly what you want when you are first building something, before you know exactly what you will need.

Later after you have lots of users and your hosting costs are rising, then you can rewrite it in a language that gets you closer to the machine. You won’t need to do any exploration at that point, and you’ll already know where the performance hot spots are. Of course I recommend Rust for that, but that is merely my personal preference.

You can accuse DHH of many things, but not of grifting, insincerity, political politeness/correctness just not to offend people. The guy speaks his mind and is unapologetic about it.

It would have been the case if he said all the things in keynote unprepared like in a podcast. i.e Speaking his mind.

But it wasn't.

I often need to prepare to speak my mind

> Why mess with an interpreter if you don't have to?

I mean I haven’t touched Ruby in years but if you’ve got tokens to burn, who cares? Compute is pretty cheap these days and Ruby is usually fast enough for web stuff, and as far as I can tell 2nd hand the robots write it just fine.

And I say this as someone building a strongly typed programming language that compiles to native code.

Maybe not the most popular answer, but... because JIT?