r/linux • • Aug 29 '24

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

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

794 comments sorted by

View all comments

-20

u/07dosa Aug 29 '24

Lots of bad mouthing, yet no one acts up.

Write patches, especially you younglings. That's how you move Linux and FOSS. Talking won't change a shit here. People are not here to do right things - they just do what they want and need. Stop blaming others for not delivering the future you want. You deliver your future to your doorstep.

If Rust in kernel is such a great idea, it must be proven practically, instead of being talked through. Write new kernel modules. Write new filesystem. Kent Overstreet does. Roll it on fucking thousand drives for him and help him build something cool.

17

u/Senator_Chen Aug 29 '24

They are writing patches. You can't write a new filesystem in rust because Ted Ts'o is actively sabotaging efforts to create rust bindings for the filesystem APIs. For GPU drivers maintainers have blocked upstream improvements because they're coming from rust devs, and stonewalled basic patches for over a year https://vt.social/@lina/113045455229442533

0

u/[deleted] Aug 29 '24

[deleted]

-4

u/07dosa Aug 29 '24

You're telling people to write patches, but then go on to talk about how people are doing just that

What's "That"?

44

u/throwaway490215 Aug 29 '24

Ah yes, the classic: "if you want a tram, why aren't you laying tram lines yourself?"

17

u/SkiFire13 Aug 29 '24

With the additional "you can't lay tram lines, there's no tram yet that needs them"

15

u/bence0302 Aug 29 '24

Pretty good analogy. Most people using Linux don't have knowledge or experience in kernel development, and can't do shit but pray that the kernel developers will be reasonable.

8

u/07dosa Aug 29 '24

People having no experience in kernel development strongly pushing for Rust in kernel sounds really wrong. (I mean, if you really use that as an excuse.)

pray that the kernel developers will be reasonable

They've been more than reasonable with only C. It's just that they rejected the idea that could possibly ease their own pain.

5

u/buwlerman Aug 29 '24

Introducing Rust is not mainly about easing pain for the devs. From what I can tell Linus' main motivation was to try get new blood into the project.

The technical reason is about decreasing the number of critical vulnerabilities, and there is evidence from Google that indicates that replacing C and C++ with Rust in a living codebase reduces the number of critical vulnerabilities.

Vulnerabilities are not just pain for the devs, but for the users as well.

-12

u/07dosa Aug 29 '24

Fuck that analogy, because the numbers are not aligned at all.

Laying tram takes billions of dollars and millions of man-hour, and needs legal and administrative support from the government. How many people have such capabilities?

Writing a kernel module/filesystem? It takes a few people and hundreds of man-hour to get a working prototype. A handful of dudes and tens of thousands of man-hour will get you a decent software.

8

u/throwaway490215 Aug 29 '24

ofcourse its an imperfect analogy.

but lol at taking the deep knowledge of programming & kernel & rust & filesystem/module - learned over decades - for granted and bill it at a few hundred man-hours, but in the same breath pretend getting the OK to place a couple of steel beams is suddenly billions of dollars and millions of man-hours.

I can literally go to the hardware store and start in my back yard this afternoon. As you just argued in your initial comment.

1

u/07dosa Aug 29 '24

but lol at taking the deep knowledge of programming & kernel & rust & filesystem/module - learned over decades

Wow, do you really think it takes a decade of knowledge to work on kernel? I mean, that's the culture shock I'm having here.

No. I definitely say "No" to that. You'll be surprised by the number of EE people working on the kernel commercially. They're not even software engineers, and still can do that.

The kernel is not a beast. You try, and it welcomes you, seriously (though LKML would not lol). It's no different from normal programming. You're just not used to it, because you normally don't need to do so. You might not be able to design stuffs effectively, but you can still debug it and have some crazy fun if you want.

2

u/throwaway490215 Aug 29 '24

No. I was trying to point out that after a decade of work you must have forgotten all the time it took to learn the context knowledge like "what is a Makefile", "how do atomics work", etc. Because thats the only excuse I can see for someone to come up with that piece of man-hours accounting for Rust in the kernel.

1

u/07dosa Aug 29 '24

No. I was trying to point out that after a decade of work you must have forgotten all the time it took to learn the context knowledge

Fair point, but only by half.

If you really really hope for, you can make stuffs without accurately understanding what you're doing. A lot of engineers do work in this way. They try and use what sticks. Everyone starts from there, and learn one by one. The fastest way to become an expert is to actually stay in the right context. (I personally regret not spending more time on writing actual stuffs rather than trying to learn everything.)

The man-hour part is still valid because (1) tram is simply too enormous. Any society would prefer free tram over free software genius, because tram has bigger long-term economic impacts. A house would make more sense. (2) I was talking about writing a filesystem. Rust-in-Linux involves political issues, so it can't have any practical estimates on man-hour.

12

u/rundevelopment Aug 29 '24

Yes, the easy task of writing kernel modules, file systems, and drivers. It's so little work and quick to do that even fresh Rustlings could do it!

Seriously, stop belittling the work RFL contributors do and have already done.

-6

u/07dosa Aug 29 '24

Yes, the easy task of writing kernel modules

This part is 100% true unfortunately. Here's the documentation that I read when I was 12, and I'm pretty sure most people have enough brain cells to follow through it. Kernel modules are just a usual object file with no dependencies in the user land. You're simply afraid of what you don't understand.

Filesystem and drivers are admittedly quite a hack of a job, but those are not dark magickeries invented out of thin air. Again, you're just afraid of what you don't understand.

stop belittling the work RFL contributors

The logic required to connect a "help him" thread to "belittling" probably don't belong to this universe. Prove me wrong.

25

u/[deleted] Aug 29 '24

This is your response under harassment of contributor? Maybe more people would contribute if they were not harassed? It seems like there is lot of gatekeeping so maybe this is what you want in the end. But if not, if you are really genuine there is time for bit of introspection about toxicity.

-16

u/07dosa Aug 29 '24

"The best revenge is living well" is what I'm currently sticking to, especially because this is about having an idea unfolded.

It seems like there is lot of gatekeeping so maybe this is what you want in the end.

Don't throw aggressive words out of nowhere without any firm grounds, just so that you can provoke other people.

harassment

What harassment? Because Linux already implements CoC that is anti-harassment.

5

u/Booty_Bumping Aug 30 '24

Kent Overstreet does

Kent Overstreet was one of the speakers who was rudely filibustered in a conference speech by someone in the audience who thinks Rust = Java.

1

u/07dosa Aug 30 '24

And what's wrong with saying "help him build something cool"?

3

u/Booty_Bumping Aug 30 '24

Nothing, of course. But to say talking isn't going to do anything... this is an organizational issue, it can only be solved by talking. One more automated testing system for bcachefs, Asahi Linux, Android Binder, etc. isn't going to make the difference, especially considering barely any Rust code has been written due to struggles in deciding how the two languages should be bridged.

1

u/07dosa Aug 30 '24

it can only be solved by talking

My perspective is that a working piece of code is a far much more powerful talk than verbal talks. Thus, meritocracy.

One more automated testing system for bcachefs, Asahi Linux, Android Binder, etc. isn't going to make the difference

It does make difference, but only slowly - like, you'll never notice the momentum moving. If people keep accumulating Rust code, the sheer LoC by itself will become the reason to invest into Rust, but only after 5 to 10 years.

struggles in deciding how the two languages should be bridged

Kent and Wedson proposed something quite radical in their "Filesystem in Rust": a purely Rust-style interface that encodes context into the type signature. This goes beyond simply using Rust in the kernel, as it introduces an entirely new programming style. This might upset some people who have no intention of using Rust, especially since the Linux project follows the philosophy of "You broke it, you fix it.". That's why Kent mentioned "pain allocation".

Aside from that, it's already possible to use Rust with C-style interfaces with less issues. Of course, this may require re-inventing common constructs again and again, but those are still worth as experiments that can be later utilized during standardization.

11

u/really_not_unreal Aug 29 '24

I'll write a patch when the kernel community gets to a state where I don't get harassed for trying to make the software better.

→ More replies (6)