4 ms·
Do you rewrite the Linux kernel as-is in Rust or try something new? Would/should a Linux in Rust look the same?
by candiddevmike 3y ago
Do you rewrite the Linux kernel as-is in Rust or try something new? Would/should a Linux in Rust look the same?
- lambdaone 3y agoAs other commenters have said, you can do it a bit at a time, converting non-core kernel code to Rust at the edges. Another route to memory (and other) safety would be the C -> WASM -> C route that effectively rewrites/transpiles code to operate within its own sandbox, which also has the advantage that it could at some later date support modules written in languages other than C.