Windows Microsoft is betting on AI and Rust to eliminate legacy C++ code by 2030. It’s an ambitious engineering pivot that could finally secure the Windows kernel.