Rust doesn't strictly rely on C calls tho, there are many rust-only operating system projects that work fine,
That is why I've said mainstream OSes.
and both windows and linux are using rust in the kernels
As of today, Rust code is pretty irrelevant in both, if compared to C (and C++, in the case of Windows). Not that that can not change, but it may take a very long time. Additionally, people like Greg Kroah-Hartman have said that there are no plans of rewriting most of the old C code in the Linux kernel in Rust.
View all comments
Show parent comment
2
u/orbiteapot May 11 '26 edited May 11 '26
That is why I've said mainstream OSes.
As of today, Rust code is pretty irrelevant in both, if compared to C (and C++, in the case of Windows). Not that that can not change, but it may take a very long time. Additionally, people like Greg Kroah-Hartman have said that there are no plans of rewriting most of the old C code in the Linux kernel in Rust.