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

-13

u/RedEyed__ Aug 29 '24

No, Rust just brings complications (not because Rust is bad, but because we have to deal with 2 languages in same runtime).

When you refactor C code, you break Rust bindings.
Maybe there should be stable C API that Rust bindings can depend on.

14

u/lestofante Aug 29 '24

Its not necessary, those breakage are minimal or rare; as long as there is coordination (and maybe some design phase together) should not be an issue

6

u/matthieum [he/him] Aug 29 '24

Given how many invariants are "implicit" in the kernel, I suspect that when one refactors C code, one breaks C code just as much.

Then it's a matter of either the reviewer noticing, or a test failing -- but I'm not sure how much can be tested in the kernel, especially when talking about drivers and (therefore) HW interaction.

1

u/acroback Aug 29 '24

If the FFI API is standardized, there shouldn't be much of a problem.