logoalt Hacker News

0cf8612b2e1eyesterday at 5:47 PM5 repliesview on HN

If coding is so cheap, I hope people start vibing Rust. If the machine can do the work, please have it output in a performant language. I do not need more JS/Python utilities that require embarrassing amounts of RAM.


Replies

duggantoday at 7:55 AM

I’ve used Claude to write custom firmware in Rust for an ESP32-driven desktop clock.

Turned it into a Stripe revenue dashboard and notifier.

Even bought a couple more, flashed them, and gave to my cofounders, complete with AI written (personally tested, though) setup instructions!

falcor84yesterday at 7:47 PM

It's already happening, particularly with "Ladybird Browser adopts Rust" [0] being at the top of HN today. It's now feasible to quickly iterate on a system's design with a dynamic language like Python, and then, once you're happy with the design, have AI rewrite it into something like Rust or Zig. I can even foresee a future where we intentionally maintain two parallel implementations, with machine-defined translation between them, such that we're able to do massive changes on the higher level implementation in minutes, and then once we finish iterating, have it run overnight to reimplement (or rewrite) it in the performant language. A bit like the difference between a unoptimized debugging version of a project, and the highly optimized one, but on steroids.

[0] https://news.ycombinator.com/item?id=47120899

tadfisheryesterday at 5:55 PM

Worth reiterating due to the skyrocketing costs of RAM.

cube00yesterday at 6:47 PM

The sad reality is it will likely be the older languages (I tend to see Ruby vibed a lot) just because there is so much more to train on.

fxtentacleyesterday at 5:56 PM

With a bit of AI sprinkled in, Rust code can surely also waste gigabytes of RAM on "Hello World" ;)