r/rust • u/nickdesaulniers • Jul 10 '20
Linux Developers May Discuss Allowing Rust Code Within The Kernel
https://www.phoronix.com/scan.php?page=news_item&px=Linux-Plumbers-2020-Rust
235
Upvotes
r/rust • u/nickdesaulniers • Jul 10 '20
5
u/coderstephen isahc Jul 11 '20
At least for Linux kernel use, the only legitimate problems I saw were:
Rust/LLVM might not have as wide of platform support right now as the kernel does, but this is solveable.
It adds more dependencies to the build. Not a hard pill to swallow though.
Lack of interop with C preprocessor macros could be annoying to deal with in a fair number of places where the macro basically is the "API".
The language itself is also not perfect, but no language is and Rust is better than most (including C).