13 ms·
Could you rewrite linux kernel in Rust?
by cLeEOGPw 11y ago
Could you rewrite linux kernel in Rust?
- wtallis 11y agoYes. However, writing a linux-like kernel that is not 95% `unsafe` code would be a lot harder than just a straightforward syntax change of C to rust.
- kibwen 11y agoSure, but it probably wouldn't make sense to. Instead, you'd be better off doing like the Redox folks and designing your own Rust-based OS, with plans for a Linux-compatible userspace: http://www.redox-os.org/ http://www.redox-os.org/