r/programming • • Apr 14 '21

[RFC] Rust support for Linux Kernel

https://lkml.org/lkml/2021/4/14/1023
730 Upvotes

308 comments sorted by

View all comments

Show parent comments

3

u/ydieb Apr 15 '21

Its extremely rare you get a major improvement on every single point in any context (programming, hardware, politics, science, you name it).

Any reasonable approach would be: Is the change overall (new pros and new cons) worse, about the same, better, much better, overwhelmingly better?
Given if the change is better, much better or overwhelmingly better, does it have any cons that are so much worse that they are deal breakers, if no, it would be a reasonable upgrade.

As rust here does not seem to have any new cons that is not related to kernel immaturity, given its other pros, would be reasonable to propose.

Saying "its not a perfect silver bullet, hence it will not be considered", you might as well say, we wont change ever. Because in practice, these two are functionally identical.

1

u/ischickenafruit Apr 15 '21

Fair enough. Ultimately I’m just some internet stranger, who care what I think?

But Linus has made his view clear. Rust is not happening unless some fundamental problems can be resolved.

3

u/ydieb Apr 15 '21

Fair enough. Ultimately I’m just some internet stranger, who care what I think?

Same goes for me I guess. And I dont personally have any stake in the linux kernel taking in rust or not, although I like rust very much.
I just try to change the way people think, because I feel it often ends up with people saying "its not a silver bullet, so we wont go for it". Its almost always nuanced, and any upgrade will very likely have to do a pro vs cons evaluation and must dismiss any strawman argument based on one con that what it replaces often already also has.