Live data from Hacker News

Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

github.com

21–30 of 147 posts

Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

#21
Docs 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 statement age.

[1]: https://github.com/uutils/coreutils

[2]: https://canonical.com/blog/canonical-releases-ubuntu-26-04-l...

[3]: https://discourse.ubuntu.com/t/carefully-but-purposefully-ox...

[4]: https://news.ycombinator.com/item?id=41355731

Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

#23
post #19

I used to like rust, but I feel like I’m being Pavlovian-conditioned to recoil at its mention now.

I still like it. People are having fun playing with their toy and tool. I have no problem with that.

People are having fun with AI coding, and I have no problem with that, but I am sick of hearing about it.

Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

#24
post #19

I used to like rust, but I feel like I’m being Pavlovian-conditioned to recoil at its mention now.

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.

Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

#25
post #4

I 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?

because of AI

Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

#26
post #8
post #4

I 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?

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

#27
post #19

I used to like rust, but I feel like I’m being Pavlovian-conditioned to recoil at its mention now.

Of all the tools in software engineering to be overpopular and overused, Rust is an instance where that is a very good thing.

Atleast people aren't AI rewriting things into PHP.

Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

#29
post #4

I 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?

I like how everyone has a different theory as to why

Re: Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

#30
post #9

rewriting {PROGRAM} in rust is so fetch.

Stop trying to make fetch happen

They actually did make fetch happen. Once upon a time it was usual in Javascript to use a thing called XMLHttpRequest which despite its name isn't actually for XML, it's just that XML was a big deal when it was created. The replacement API for making normal HTTP requests is just named fetch, and it was "new" so long ago that popular web browsers had versions like 40 rather than 150.

That movie is so old it's entirely possible that it's just named "fetch" because that's a reasonable thing to call this feature and so it's a coincidence, but I do like to think that at least some people at WHATWG were quoting Mean Girls...

Post reply on HN