Comment by coliveira
10 months ago
I also agree that Linux should close the door to Rust as a matter of principle, as it has done to any other language other than C. I don't believe in a mixed language kernel, it is just nonsense, specially with such a different language such as Rust which is closer to C++ in philosophy.
I love Linux and have no preference to either C or Rust, but locking Linux in to a programming language that was designed in the relatively early stages of computing will lead to Linux dying in the long term.
There will be fewer and fewer new C programmers with people instead taking up newer systems programming languages like Rust or Zig.
There are zero indicators for that happening. In fact, if history is by any means an indicator for the future, we might see these dying out over the years in favor of new hyped ones and C standing against the time. Zig is nothing so far, personally I believe Rust has some staying power for now, but we'll see. As for C, kernel C is not all that C where C was led to in recent years.
C and Unix have stood the test of time. It has been 50 years since they were designed, this is a long time in terms on computing. It is not unreasonable to think that they will stay for another 50 years.
Yes, they SHOULD be adding Fortran, another language that has stood the test of time, to the Linux kernel.
Or... Maybe it's good that they add a new (still 10 years old) language with security and DX improvements occasionally. 50 years ago, that language was C...
2 replies →
If other, safer language would have existed the same time as C, I don’t think it would have stood the time as you say.
4 replies →
Interestingly enough the Windows kernel is slowly rusting. If they they see a significant drop in CVEs eventually (which is bound to happen, with how easy it is to footgun memory safety in C), it blows a huge hole in the stance of "no Rust in the Linux kernel". It'd be akin to saying "yes, more security issues please".
Just like C++ has already led to there being fewer new C programmers and has caused C projects to die out? I don't think the programming language is a real problem for someone capable of working on the kernel. Some people might prefer to work in another language but with a large project you need to compromise in many ways and the language is just part of that.
I agree. If it wasn't for the memory safety meme this would have never been considered.
Then make it so, so that we can RWIR, and Linux can fade into the sunset with Linus.
Nothing is stopping you
If the Kernel stopped all development it would still not fade into the sunset in our lifetime.