r/programming • • Aug 29 '24

One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"

https://www.phoronix.com/news/Rust-Linux-Maintainer-Step-Down
1.2k Upvotes

795 comments sorted by

View all comments

Show parent comments

14

u/asyty Aug 29 '24

I'm sure there are some who think along those lines. But, Linus himself has stated that the majority of senior kernel developers don't want to learn an entirely new language to just keep up with what they've been doing the whole time. I don't think you actually understand how much friction a new language and its comparatively foreign paradigms that come with it causes.

You'll get more bugs by dropping people into the middle of unfamiliar territory.

14

u/otherwiseguy Aug 30 '24

As a developer who has learned many languages over the last 30 years, I have 3 words for them: suck it up.

If you are only fluent in one language, I feel like you can barely consider yourself a software developer.

Don't get me wrong, as an older developer myself, I get being resistant to change. There gets to be an increased suspicion that the new crop of developers are just chasing fads after seeing many come and go. But keeping up with new languages is just part of the job.

I'm currently learning Go. I do not care for many of its choices (I currently hate it). Relatively soon I'll have written a ton of code with it and I'll have some nice things to say about it to go with the things I still hate. Same thing happened with Python. Same thing happened with C (though despite its many flaws, I will always have a soft spot for it). Same for Ruby, perl, PHP (I have nothing nice to say anymore), Pascal, BASIC...

I will say, that on paper Rust checks every box of things I say I like in a language. I just haven't gotten a chance to write anything serious in it yet. I also like that it isn't designed to "be easy for anyone to pick up". That at least helps with the "bugs written by newbs" issue. :mischievous grin:

4

u/JoeyJoeJoeTheIII Aug 30 '24

Language kind of sucks but channels are cool.

That’s my review of go. Thank you for reading.

1

u/derangedtranssexual Aug 30 '24

I don't find it really that shocking developers don't want to be forced to learn a new language lol. I might have overestimated the support for rust among senior kernel devs although I think there is some important things to mention. They are going pretty slow with it and there's no plans to use rust for anything but kernel drivers so far, drivers are a fairly isolated part of the kernel and one where other parts aren't going to depend on Rust. Sure the senior developers will have to learn some rust but it's not like the kernel is going full rust. Also with it being just drivers the impact of it might be more minimal in many cases, for example ashai linux is writing the drivers for apple silicon in rust which will just impact Apple Silicon Macs. Because you do have a point that in some ways developers being unfamiliar with rust could cause more errors at first, although hopefully as devs get more familiar with rust that will stop happening and we'll also get the benefits of memory safety

-2

u/Isogash Aug 29 '24

Not just that but Rust is another level of unfamiliar.

-8

u/hardolaf Aug 30 '24

And modern compilers can give 95% of the promises of Rust without needing to change anything other than your compiler and linker options. The cost of switching is high and it doesn't really provide as much benefit as Rust evangelists like to espouse because they intentionally ignore the compiler.

4

u/nicheComicsProject Aug 30 '24

wtf? Uh no. What an ignorant, hopelessly uninformed thing to say. Like a person who's only ever made paper airplanes trying to explain to others how rockets work.

0

u/hardolaf Sep 01 '24

LLVM and GCC can do most of the memory safety and reference counting checks for you these days. Tons of developers don't like the features because they throw a bunch of warnings, but I've been at two companies now where they turned those features on and found tons of bugs in legacy code bases that ended up being fixed without needing to switch to a brand new language and rewrite 20+ years of corporate software from scratch.