Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Do you rewrite the Linux kernel as-is in Rust or try something new? Would/should a Linux in Rust look the same?


view as:

As 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.

Legal | privacy