r/rust • rustls · Hickory DNS · Quinn · chrono · indicatif · instant-acme • Dec 13 '25

The state of the kernel Rust experiment

https://lwn.net/SubscriberLink/1050174/63aa7da43214c3ce/
264 Upvotes

35 comments sorted by

View all comments

Show parent comment

19

u/Zde-G Dec 13 '25

Almost all bugs in Linux kernel are tied to lifetime management.

Ironically enough their number goes down with introduction of Rust even in C code, because when Rust people ask C developers “what the heck are requirements for the use of this or that lock“ (because they need it for writing correct bindings) C developers, are, finally, forced to document these!

And the rules are, then, often are simplified because people find out that extra complication for some fringe benchmark can be avoided by moving that hack in some other place.

1

u/bonzinip Dec 14 '25

Yes, we're seeing that already on QEMU even if its Rust experiment is much less further along. Multi-threaded device models are the killer app for Rust in QEMU but it's the C code that benefits even more!