I hate that 5 years ago I'd see a headline like this and think it was awesome, and now it's just "look at what someone's spent tokens on today"
Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
51–60 of 147 posts
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#52Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#53rewriting {PROGRAM} in rust is so fetch.
Stop trying to make fetch happen
A couple of times it was cute... but they took it too far in my opinion. And sadly the company was bought out, and now they too have decides to "stop trying to make Fetch happen" (yes, officially it was bought out, but not for the actual robots part).
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#54Earlier quoted context omitted.
I still like it. People are having fun playing with their toy and tool. I have no problem with that.
I shouldn’t have been so negative. I still very much like Rust, but hearing about these AI rewrites constantly is tiresome.
Kinda like jackass, fascinating to watch but damn I do not want to do it
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#55How do the binary sizes compare? An original Linux 0.11 kernel vs. this oxidized version.
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#56I just compared this Rust implementation against the original C sources. Some ~50k SLOC (Rust) compared to maybe ~8-12k SLOC of C (depending on if you count headers). Why is the Rust implementation so much more complex and onerous?
If the readme is anything to go by, this doesn't look like it was written by hand. Codex if I were to guess. I wonder the coding agent "improved" the code. The readme hints at the prompt: > It keeps the original system's semantics — what it does — while rethinking how it's expressed: stronger types, clearer module boundaries, idiomatic abstractions everywhere. "idiomatic abstractions" would certainly bloat the line c…
Sounds like a fun project....
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#57Earlier quoted context omitted.
One of the tradeoffs of Rust is its verbosity I think (in return for which Rustaceans would say you gain explicitness).
I absolutely despise that C convention if abbreviating absolutely every single thing as much as possible. Yeah yeah, that was necessary back in the day when memory was scarce and editors were awful, but come on those days were almost half a century ago by now. Rust may be verbose, but at least you can read it without turning into a cynical greybeard subject matter expert first.
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#58Earlier quoted context omitted.
As soon as Linus retires, there will be an initiative to rewrite the Linux kernel in Rust assisted by LLMs. Either that, or some company will fund a fork before that. Imagine, man pages full of emojis!
Linus is supportive of Rust and uses LLMs. The reasons to not have a full-Rust Linux kernel are over more important, real engineering things. (Platform support being the big one.)
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#59I hate that 5 years ago I'd see a headline like this and think it was awesome, and now it's just "look at what someone's spent tokens on today"
Written by AI and not nearly as impressive at all. Such a shame because I thought someone had spent real time and effort producing this. The output is commoditised and now neither important nor precious. Damn near anyone could repeat it.
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#60Earlier quoted context omitted.
As soon as Linus retires, there will be an initiative to rewrite the Linux kernel in Rust assisted by LLMs. Either that, or some company will fund a fork before that. Imagine, man pages full of emojis!
Linus is supportive of Rust and uses LLMs. The reasons to not have a full-Rust Linux kernel are over more important, real engineering things. (Platform support being the big one.)
And between rustc_codegen_gcc, projects like https://github.com/FractalFir/crustc, the ongoing addition of backends to LLVM and Rust, and the eventual removal of obsolete targets as hardware goes away, that's less and less of a problem.