News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Advanced Paging by MrBuddyCasino on Monday January 28, 2019 @03:47PM (#19020921)
Look at the embedded Rust stuff like RTFM - they find clever ways to build safe abstractions over unsafe primitives. If you can get 95% memory safe device drivers, thats already a huge win.
Re:Writing an OS in Rust: Advanced Paging by zaarn on Monday January 28, 2019 @04:52PM (#19021447)
Correct and in my own project I want to achieve 100% memory safety for non-primitive drivers (Disks, GPU, Ethernet, USB Devices) and 100% memory safety for any non-privileged code of primitive drivers (ie, PCIe bus, SATA, USB, etc.).

Any privileged code can then be written with those 95% and that's the only weak point left.