r/rust • • 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
586 Upvotes

374 comments sorted by

View all comments

Show parent comments

20

u/protestor Aug 29 '24

Explicitly say that even if the Rust interface is merged, it will be a second class citizen that won’t be updated when the C interface is refactored.

Note that in the real world, if the interface is actually used it will be kept up to date. Linux has too many corporate stakeholders and Google alone has the manpower for this.

29

u/CommandSpaceOption Aug 29 '24

If the maintainer merges in code that deliberately breaks Rust code there isn’t much anyone can do. He is explicitly saying that’s what he plans to do.

A normal person would say “hey, let’s work together to minimise breakage, but you’ll have to do most of the work”. A saboteur would say “this is definitely going to break, be prepared”.

Again, not calling them saboteurs or implying they’re malicious. I’m only saying their actions are indistinguishable from malice.

3

u/ajmmertens Aug 29 '24

You are in fact implying that they're malicious, and I don't think that's called for.

There are only two logical possibilities:

  • Restrict the C source so it can't break the downstream Rust interface

  • Change the downstream Rust interface when the C source breaks it

It is very fair to call out that #1 is not a viable path for kernel development in general.

13

u/tdslll Aug 29 '24

Yes, but (a) none of the Rust for Linux devs were suggesting #1, and (b) the speaker was refusing to help fix the Rust interfaces that he breaks.

1

u/[deleted] Sep 18 '24

The speaker was refusing to explain/document what the changed interfaces do in the first place because (incorrect) code from drivers using them serves as documentation.

2

u/Booty_Bumping Aug 30 '24

This definitely applies to Android Binder, but a filesystem or GPU driver developer is in a much more precarious position if they have to make use of Rust bindings that don't have any other users. Bcachefs has a ton of amateur users who have gone out of their way to buy expensive hardware for automated testing, but corporate interest has backed out of the project and it's unclear when early adopters will come. That being said, if it does get even a single large corporate user then they will very much be committed, just by nature of it being a filesystem.