3 ms·
I wonder how many people in this discussion have actually looked at kernel code. If you take an average chunk of kernel code, and try to reason about how to re
by phendrenad2 5y ago
I wonder how many people in this discussion have actually looked at kernel code.
If you take an average chunk of kernel code, and try to reason about how to rewrite it in Rust, you'll note that the result looks surprisingly like C.
Working with hardware registers, instructions, memory mapping, and trying to do all that with optimal runtime performance puts a lot of constraints on you.
Rust is all about memory safety. Well, what does it mean when the entire memory map is not only accessible to you, but DEFINED by you?