r/linux • u/TheTwelveYearOld • Dec 10 '25
Kernel "Rust in the kernel is no longer experimental — it is now a core part of the kernel and is here to stay."
https://lwn.net/Articles/1049831/
1.5k
Upvotes
r/linux • u/TheTwelveYearOld • Dec 10 '25
12
u/Xaeroxe3057 Dec 10 '25
It’s a good question. In the modern world it’s essentially impossible for a low-level language such as Rust to get anything done without FFI. All Rust software today makes extensive use of FFI, whether the developers are consciously aware of it or not. I’ve been a Rust developer for 11 years and it became apparent to me pretty quickly that I wouldn’t be able to get anything done with it unless I also knew C and C++. Rust plays nice with C. It wouldn’t be where it is today if it didn’t.
In particular FFI is required in order to interact with operating system APIs, and to integrate with large pre-existing libraries. So, in a sense the pure Rust application is actually pretty niche. It would have to be built for a system whose kernel contains no C code. I don’t see many of those systems around these days.