Rewriting that amount of code in ten years sounds very very hard, at least.
Rewriting that amount of code in ten years sounds very very hard, at least.
A potential strategy would be to set a date where any new drivers must be written in Rust. Deprecate every non-Rust driver on a date after that. Focus on rewriting only the drivers necessary for current hardware platforms (and some sensible/arbitrary cut-off going back x years). Then set a final deadline for a New Linux kernel release that removes all deprecated/C drivers.
I would blindly estimate that entire process to take 10-20 years (not including the time needed for debating the whole thing).
Then somebody "just" needs to rewrite the rest of the code.
So, uh, any volunteers?
Now, rewriting everything, including all the legacy drivers? Yeah, never happening even if Rust succeeds utterly.
I wish something like it could happen, but I am causyiously optimistic.