Hacker News new | ask | show | jobs
by pshc 61 days ago
Rewrite everything in Rust has been a meme for so long that to see it coming to pass is surreal.
1 comments

After the current onslaught of 0 days on linux and other C projects combined with the new incredible ability to convert codebases to another language I think we will start to see this actually happen.

I'm not saying we blindly vibe convert Linux to Rust, but I think it could be a valid idea to start converting small parts and carefully auditing them.

I've been a Swift/Obj-C engineer for my whole 15 year career. I now have all these odd jobs I have going on Raspberry Pis around my house that LLMs have written in Python. I'm now having them convert some of them to Rust and I am astonished on how fewer resources are used.
I converted some Ruby stuff at a previous job to Rust pre-ai days and it was incredibly how much less memory they took and how fast it ran. But we still built everything else in Ruby because finding Rust devs was hard.

I am hopeful we can bring in an age of much more efficient software rather than fully prioritizing developer convenience.

I let an LLM write a custom kernel for doing inference on an RPi cluster. The age of bespoke custom kernels is upon us.
> carefully auditing them

and start everything all over again? current c/c++ tools have been audited for years

Yet certain categories of bugs are basically unavoidable in C/C++ but almost eliminated in Rust. Human audited doesn't mean bug free.