4 ms·
> is too contribute to Rust kernels writen from scratch I'm pretty sure all of the I/O would be `unsafe` though, which begs the question... why write it in Rus
by MuffinFlavored 6y ago
> is too contribute to Rust kernels writen from scratch
I'm pretty sure all of the I/O would be `unsafe` though, which begs the question... why write it in Rust in the first place?
- loeg 6y agoBecause 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.