by thelastparadise · 2y ago · 0 comments
Well, maybe that's exactly what should happen. Maybe rust should have never been allowed in the kernel in the first place.
It's caused a lot of trouble so far and for what? The dev community is fractured and infighting is rampant.
The "for what" seems pretty obvious, no? It's the same reason you would use Rust over C in any other project. Memory safety and more modern PL features.
And, there’s still no good and fast allocator:
Can you clarify these two sentences? You say there should be a memory-safe kernel, and then you say Rust should never have been allowed, which is the opposite.
These are a Linux kernel people who want to use Rust. Writing a new kernel would be fundamentally different than working on Linux.
Also, they are “writing software,” and have been for a long time now. This isn’t just some random arguing on mailing lists, this is actual patches, with folks like Asahi and Android writing real meaningful drivers on top of it.
They may want to work on Linux but it's clear that the rest of the Linux developer community does not want to allow it, for reasons you are free to interpret as positive or negative as you see fit.
They want to write software, and they are getting somewhere, but they are restricted by the attitudes of the rest of the Linux kernel people fighting against them, so they are sucked into constant flamewars and divisive infighting. All just so they can say what they are working on is "Linux".
At the end, the question must be asked whether or not Linux and its decades of Linux/Unix baggage are worth holding back the progress represented by a kernel that is Rust from top to bottom, and written with safety and security as its top priorities from day zero instead of decades after.
There is no such thing.
There are people developing a complete OS in Rust: https://github.com/flosse/rust-os-comparison
There are people interested in making the Linux kernel more memory safe using Rust. And from what I am observing they aren't interested in a hard fork and are looking for collaboration.
These are different populations.
Contrary to what Theodore Ts'o is ignorantly saying, Rust is not a religion.
Window GDI regions, CoreWrite, Drivers SDK
Android
Copilot+ PC firmware
BTW: There are a few Rust OS kernels, but none of those have the popularity of Linux of course.
So the next paragraph means:
> Maybe rust should have never been allowed in the [Linux] kernel in the first place.