News for hackers. Stuff that matters.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by Yoric on Tuesday January 16, 2024 @10:36AM (#39014448)
To be fair, I've seen this happen with every language community.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by bheadmaster on Tuesday January 16, 2024 @10:39AM (#39014493)
Every community has a hype period, true.

But I don't think I've ever seen any other community (except C++, 20 years ago, perhaps?) being so vocal about wanting to rewrite the whole software ecosystem in their language. "Rewrite it in Rust" is basically a catchphrase now.

Re:Rust-Written Linux Scheduler Showing Promising Results fo... by Pet_Ant on Tuesday January 16, 2024 @12:38PM (#39016146)
> But I don't think I've ever seen any other community (except C++, 20 years ago, perhaps?) being so vocal about wanting to rewrite the whole software ecosystem in their language.

cough NodeJS cough

Re:Rust-Written Linux Scheduler Showing Promising Results fo... by Yoric on Tuesday January 16, 2024 @02:53PM (#39018190)
I remember the Java community attempting to rewrite the world in Java (Jazilla, anyone?)

I remember web browsers written in Perl.

We live in a world where everything is being rewritten in JavaScript.

etc.

Re:Rust-Written Linux Scheduler Showing Promising Results fo... by bheadmaster on Wednesday January 17, 2024 @04:46AM (#39025592)
True. I suppose the main difference is that nobody (in their right mind) was ever advocating for rewriting fundamental system components such as Linux (the kernel) and all the GNU system utilities in Java/Perl/JavaScript. If they were, then I completely missed them.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by Yoric on Wednesday January 17, 2024 @10:45AM (#39029276)
I think that's mostly because there hasn't been any new mainstream language with the feature set and compilation model needed to port fundamental system components for a while. I remember lengthy debates about porting just about everything from C to C++ in the Linux world and even C++ was deemed unsuited for many reasons (with which I generally agree).

It turns out that Rust is compelling enough that it makes sense to investigate porting lots of things to it. I don't think anybody knows for sure exactly for which projects Rust is better than C (or C++), but I know that Google has ported many fundamental C++ projects to Rust and they're happy enough that they're continuing this trend.

Re:Rust-Written Linux Scheduler Showing Promising Results fo... by steveklabnik on Wednesday January 17, 2024 @11:39AM (#39030045)
> I remember lengthy debates about porting just about everything from C to C++ in the Linux world

Fun fact, the kernel patchset to do this was recently resurrected https://lore.kernel.org/lkml/3465e0c6-f5b2-4c42-95eb-2936148...

We'll see!