Earlier quoted context omitted.
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.
I've found that the less real estate my eyes need to scan, the faster I understand the code, even if its more tersely expressed and requires a little decoding. Relatedly, I've come to appreciate a line of code that does the thing rather than one that calls a function whose name might express what the function does, but I might need to go find it and and read its code. That works well if your language supports a terse…
Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
41–50 of 147 posts
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#42Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#43Docs full of emojis, this is another AI slop?! Tangential note: there is already a community effort[1] to rewrite GNU commandline tools into Rust and Canonical shipped the rust version of the /bin/utils in Ubuntu 26.04 Resolute Raccoon by default[2] in their "oxidizing" initiative.[3] PS: Linus Torvalds has confirmed that the existing Linux kernel will never be fully rewritten in Rust.[4] Let's see how well that stat…
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#44Earlier quoted context omitted.
I have the opposite feeling; I am liking Rust more and more and thinking most of the world's C code should be rewritten. It seems like a sweet spot of enforced memory safety, performance, and human/agent readability.
why rewrite if you can check for and fix bugs? If you are thinking of AI fixing bugs is less expensive
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#45Docs full of emojis, this is another AI slop?! Tangential note: there is already a community effort[1] to rewrite GNU commandline tools into Rust and Canonical shipped the rust version of the /bin/utils in Ubuntu 26.04 Resolute Raccoon by default[2] in their "oxidizing" initiative.[3] PS: Linus Torvalds has confirmed that the existing Linux kernel will never be fully rewritten in Rust.[4] Let's see how well that stat…
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!
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
#46Earlier quoted context omitted.
I have the opposite feeling; I am liking Rust more and more and thinking most of the world's C code should be rewritten. It seems like a sweet spot of enforced memory safety, performance, and human/agent readability.
why rewrite if you can check for and fix bugs? If you are thinking of AI fixing bugs is less expensive
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#47I 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?
The majority of Rust the code in the repo is not for the Linux kernel.
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#48Earlier 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.
And the terseness is good when you’re familiar with the code.
Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU
#49Earlier 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
#50I used to like rust, but I feel like I’m being Pavlovian-conditioned to recoil at its mention now.
Someone is having fun with a side experiment that has no practical real-world implications.
This stuff is supposed to be fun and we should celebrate when other people are doing fun, pointless things like this. If you're interested then ignore it and move on. There's no need to get involved or comment if a project of no consequence is uninteresting to you personally