I think this will make linux worse, not better.
Announcement
Collapse
No announcement yet.
The Latest Progress On Rust For The Linux Kernel
Collapse
X
-
The accepting of Rust in the kernel makes zero sense to me, the kernel is something like 25 million lines of C code, even in a extremely 'optimistic' scenario, I don't see the kernel becoming more than 10% Rust.
So what you get is more complexity both from a build and more importantly, maintenance standpoint.
The Linux subsystem maintainers are all expert C programmers who will now have to become Rust experts in order to be effective in accepting or rejecting Rust code contributions, this is a lot of overhead added to the kernel just to have a very small amount of the kernel be potentially rewritten in a safer language.
To me this seems like something that is being pushed on to the Linux kernel rather than something the kernel devs want, and seeing Linus bend to this is kind of disheartening.
- Likes 13
Comment
-
Originally posted by bachchain View Post
The Linux maintainers seem to disagree with you.
Not sure if this is just a state of the union post or if you actually want to submit it. If the later I strongly disagree with merging it, as you should refined it and prove it actually is useful first. Where useful would be a real-life driver like say nvme or a usb host controller driver that actually works and shows benefits over the existing one. Until it shows such usefulness it will just drag everyone else down.
Please work on a real driver to help prove, or disprove, that this all is going to be able to work properly. There are huge unanswered questions that need to be resolved that you will run into when you do such a thing. Good luck!
- Likes 13
Comment
-
-
Originally posted by darkoverlordofdata View PostI’m trying to learn rust. It’s challenging. It also challenges my hardware, which is the main reason I’m not pursuing it. When I get past hello world and into a more realistic project, I start having problems compiling – running out of memory it slows to a crawl and the cpu gets pretty overloaded. It either crashes or it takes an hour or so to compile. Sure, I need to upgrade. Can I afford it? No. I don’t have this issue with clang, so I’ll stick to c.
My question is how many other’s experience this, and will this slow down rust contributions?
I run an old AMD Athlon II X2 270 and compilation is slow compared to something like C, but not prohibitively so as long as I'm not playing metaprogramming YOLO with my dependencies. As for RAM, how much do you have?
- Likes 3
Comment
-
Originally posted by Grinch View PostHave the actual Linux maintainers requested Rust support in the kernel?
Originally posted by Grinch View PostFrom what I've seen this push seem to be spearheaded by Google.
- Likes 6
Comment
-
Originally posted by dragonn View Post
Yes, writing programs in Rust takes a longer time when you only count the how much time you spend on writing the code. But when you account for all test, getting all bugs out etc. the whole picture can change dramatically.
- Likes 3
Comment
-
Originally posted by jacob View PostBut when you need code that is bulletproof (and yes, of course, long and expensive to develop), then Rust is your ideal choice.
Imagine your app crashing at runtime in a plane that is landing or other such scenarios like life support in a hospital.
- Likes 4
Comment
Comment