40
u/igreulich 18h ago
Good, he’s done with ruby, we can now never have to see any more posts by him, right?
…
right?
33
u/SurroundTiny 21h ago edited 20h ago
Do COBOL next. What the hell, you're no longer reading the code anyway.
EDIT: a more semi serious thought. All of these languages are calling C libraries . Why not just eliminate the middle man?
12
u/AlexanderMomchilov 20h ago
Agents benefit from the fast and accurate feedback of the a compiler, and they’re not as good at debugging.
C compilers are notoriously over-permissive, leaving way more problems to only be found at runtime
3
3
18
u/TheAtlasMonkey 19h ago
I'm a Ruby, Rust and C dev, i studied Rust like it own me money.
I contributed to low level gems and crates. i ported the state_machines gem to Rust because the crates are ugly or incomplete.
I even published pattern i discovered while evaluating both language such as https://github.com/seuros/matryoshka
David's benchmark are crap by an LLM. The model don't select the BEST tools for the job, they select the hype.
Rails community use Puma as defacto webserver, so even if the data is async and streaming, LLMs will still use Puma instead of Falcon. Every clone of basecamp was build with mediocre packages in a chaotic way. (i tried to clean the rust one)
i built gem with the matryoska pattern because i need the same mental API in multiple projects. But as side effect, if wanted to scale up projects i could rewrite them with AI and still understand the code. I READ CODE.
In hundreds of projects i work on, only 2 needed the upgrade. TWO.
So the whole argument of DHH is alike of
DHH: "LOOOK i have 4 GPUS H200 in my computer, and 1TB of DDR5"
YOU: Sweeet , you doing local AI ? Data Analysis ? Training Models ?
DHH: Nah, i play minesweeper in Windows 98. SUPER FAST... 360HZ/s
DHH is an excellent hypeman and marketers and you all got baitted.
9
u/Frosty-Leading-2718 19h ago
you all got baited
Surely not you who got baited though, right? by writing this comment and took the time to look into DHH's benchmarks.
I agree with what you say, but that last sentence just makes you sound smug
7
u/TheAtlasMonkey 19h ago
Of course i did look at them.
The whole goal of the benchmarks is the bait. That is the technic that Linkedin people use for the past years.
And that why i said he is excellent, i got baited too.
2
u/tadiou 14h ago
> but look at the benchmarks!
I make this joke literally every week it feels like,
"what's the performance difference between C# and Ruby" "about 6 months".
So, congrats, you're now programming in a metalanguage over ruby. How do you categorize that, how do you hold changes, how do you revise the understanding for your particular context. You're expecting the inference and summation machine to hold the purpose of the system in it's context without reproduction. If you're saying "but that's the point of version control + language". It loses all steps of collaboration because your source points are LLM decision points as raw language which is the opposite of idempotent.
So if LLM documentation doesn't create the same results with the same written source material and documents, how can you collaborate and iterate without looking at the source code?
You still have to read the code dummy.
2
u/mcsoup88 15h ago
I seriously question his benchmarks... As for cost, I found these a while back when doing some research on AI usage. Also someone has to review the PRs. My company uses AI for coding, and left unrestricted, it can and will write some atrocious code.
2
5
u/public_radio 20h ago
Code is meant to be read tho… otherwise why not just write it all in assembly?
11
u/AlexanderMomchilov 20h 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
8
u/Frosty-Leading-2718 19h 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
1
u/g0atdude 17h 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?
1
1
1
u/Asmod4n 3h ago
When used correctly Ruby can be within 20% of native code. But you need quite a bit of native code around that to make it happen.
Aka, you only ask Ruby a simple question and don’t run your application logic in it.
Then at the site where users write code to be run by you it’s still looking like normal ruby code but how its getting called aint decided by the vm.
1
u/DamaxOneDev 21m ago
It is interesting to see how slow the Go implementation is. Even with the runtime, I would have expected to be way higher.
-1
u/chuckaread 17h ago
He’s not wrong. Makes total sense. I like the fact he’s objective about despite his years of vested interest.
0
81
u/Tolexx 20h ago
Ruby was never built for machine happiness. It was built for developer happiness. That's the trade-off.