r/linux • • Apr 14 '21

Kernel [RFC] Rust support in the Linux kernel

https://lkml.org/lkml/2021/4/14/1023
608 Upvotes

316 comments sorted by

View all comments

Show parent comments

2

u/guesschess Apr 16 '21

I actually use mmap quite a bit as well as various libnuma allocators.

In rust, something has to check, and that's the compiler.

2

u/throwaway6560192 Apr 16 '21

In some cases it might not be worth it to use Rust if all or most code is unsafe. I trust the kernel devs to judge where its use is appropriate.