Live data from Hacker News

From Rust to Ruby

xlii.space

51–60 of 108 posts

Re: From Rust to Ruby

#51

This defies belief. “I wanted to scratch a technical itch. My local AI completed the job in 30 minutes. I never pressed Start to see if it works, but I did write a blog post about it…”

> This defies belief. Akshually it's pretty normal for 2026.

Yup, since the rise of AI, I still didn't find any product built by it that's even remotely useful to me... People build prototypes a lot, but these are usually buggy and not worth putting money into.

Re: From Rust to Ruby

#52

People think Ruby is slower than Rust, they'll be surprised to know Ruby is actually now faster than python but slower than Go or Rust.

Speed has usually mattered less to me than memory usage. Most Ruby applications are speed limited by the database rather than Ruby. But when you have a bunch of background workers, every one chewing 2+ gb of memory stacks up. I wrote one production Rust service and more impressive than the speed was that the thing ran on 30MB memory.

I use Go for the same reason, but it seems php can use even less memory.

Re: From Rust to Ruby

#54

Idk why people are shitting on you. So many LLM haters on here. It’s changed the game completely and some people just don’t want to accept it. I think this is cool. Verbosity of languages is important when it comes to coding with AI. I’ve found Go to be a happy medium.

They wrote a blog post about code that they have not even tried running. Whether it’s LLM-generated does not matter.

Re: From Rust to Ruby

#55

I'm not sure any language + framework prioritizes developer happiness as much as Ruby on Rails.

For me it surely is Python with Pytorch, if we talk about frameworks in general.

For web, I can't really offer any useful positive input, I was never satisfied with any framework for Python or Node. I see people praise RoR and Phoenix quite a lot tho!

Re: From Rust to Ruby

#56
post #44
post #41

Earlier quoted context omitted.

The biggest problem is that this is software development going forward. Programming languages don't really matter outside craft programming. As LLM improve, it will eventually be a matter to specify in which kind of language the specification should be generated. The UML and RUP crowd has had their vengeance.

It doesn't have to be, we have the power to change it by just not using LLMs to generate code-like text sequences. But if anyone is having their revenge it is the "idea guys", not the UML jockeys.

As long as upper management is measuring AI tools at work not much power is left.

The whole idea with UML jockeys is that we no longer need brick layers, that is the whole point of software factory concepts, and stuff like Rational Unified Process.

The only difference is using markdown this time around.

Re: From Rust to Ruby

#57
post #48

People think Ruby is slower than Rust, they'll be surprised to know Ruby is actually now faster than python but slower than Go or Rust.

Why would someone who thinks Ruby is slower than Rust (which apparently includes you) be surprised it’s faster than Python? Why does one thing have to do with the other?

I think they are jesting: https://news.ycombinator.com/item?id=48245262#48246312

Re: From Rust to Ruby

#58
Hey I'm in the same boat!

I love Go and Rust, they're wonderful languages with their own ups and downs. Sadly I never was able to build a SaaS app with either. Something about a square peg and a round hole... I could be very wrong, but there's a lot of gadgets that come with a SaaS tool, and I'm not inventing them.

RoR is.. "good enough". I can opt-in types whenever, I can build things quick, the tooling is alright, etc.

My first real job was PHP, and there were just too many gotchas there. Ruby seems to steer a bit more towards ecommerce, which intruiged me. And its good enough for Shopify, so...

Re: From Rust to Ruby

#59
post #18

I'm not sure any language + framework prioritizes developer happiness as much as Ruby on Rails.

I don't think I've ever been unhappier than working on a Rails project. See a bug on the site - something is rendering incorrectly. grep to find the view. Great, there's a method that is being called to render the buggy section. Grep for the method name - 0 hits. Amazing, it's something that is synthesized somewhere and I have no idea where. Guess I'll stop what I'm doing and read docs for an hour. If you do nothing…

I would advice reading the "efficient rails" book, which explains a lot about how to debug RoR apps.

Re: From Rust to Ruby

#60
post #30

I'm sometimes amazed by project sizes, a 30k line codebase is small? I'm aware that the ceiling is high but 30k lines of code can encode so much information and behavioural nuance. Maybe this is just my backend/network focus with Golang though. Scaling beyond 10-15k lines of code always was quite intimidating as it is usually where I lose the ability to just keep a model of the codebase fully in my head.

Heavily depends on what you're building. A SaaS app with multiple front ends will easily hit 30k.
Post reply on HN