2 ms·
Because most of your code can be safe? Kernels have many internal objects and data structures and algorithms that could be managed in safe code, with unsafe on
by loeg 6y ago
Because most of your code can be safe? Kernels have many internal objects and data structures and algorithms that could be managed in safe code, with unsafe only used around the edges. The idea with Rust unsafe is that the unsafe portions are not 100% of the whole, and can be located relatively easily.