5 ms·
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 la
by coliveira 2y 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.
- J_Shelby_J 2y agoThen make it so, so that we can RWIR, and Linux can fade into the sunset with Linus.
- chikere232 2y agoNothing is stopping you
- mrits 2y agoIf the Kernel stopped all development it would still not fade into the sunset in our lifetime.
- preisschild 2y agoI 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.
- coliveira 2y agoC 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.
- bbkane 2y agoYes, 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...
- metaltyphoon 2y agoIf other, safer language would have existed the same time as C, I don’t think it would have stood the time as you say.
- _ph_ 2y agoThey did. But they were disregarded.
- chii 2y agothat's just hindsight. You can also argue the same for the dvorak keyboard vs qwerty. And yet, qwerty stood the test of time. Momentum and legacy is hard to displace, when the new fangled thing attemping to be an improvement is not proven, and has unknown unknowns.
- metaltyphoon 2y ago> that's just hindsight. Is it? Do you think it's hindsight to use the only "successful" story as "the only way forward?" Look at the gas vs electric vehicles. Yes, displacing legacy is hard but not insurmountable when there is a clear improvement. I don't think anyone can argue in good faith the Rust is NOT an improvement in C.
- Keyframe 2y agoThere 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.
- jorvi 2y agoInterestingly 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".
- account42 2y agoJust 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.
- account42 2y agoI agree. If it wasn't for the memory safety meme this would have never been considered.