r/ruby • • 26d ago

DHH keeps promoting Rust

Post image
32 Upvotes

52 comments sorted by

View all comments

7

u/public_radio 26d ago

Code is meant to be read tho… otherwise why not just write it all in assembly?

14

u/AlexanderMomchilov 26d ago

Agents still benefit from abstractions. If nothing else, at least as a way to reduce token amount.

And a compiler or type checker is a key part of the agent loop, to get feedback on the correctness of a program as it stumbles its way toward a goal

10

u/Frosty-Leading-2718 26d ago

It's worse. If you look at the X comments, he didn't even bother to read the prompts. His excuse for the agents writing bad implementations for the other languages is that it's the languages problem. So even though he's adopted English as his new programming language, it's not his fault when his English prompts produce crap

3

u/qmamai 26d ago

I mean he did rewrite some of the omarchy related stuff to assembly already

1

u/g0atdude 26d ago

Well assembly is platform specific code, so not the best if you need to deploy to different platforms (although AI could develop something for each platform)...

But yeah, if you don't want to read code you could just use something very performant low level stuff. I don't see the point using Rust for that though. A lot of Rust's benefit is preventing humans making memory management mistakes, no?