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

Show parent comments

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.