Core Viewpoint - Microsoft has denied plans to rewrite Windows 11 using AI, contradicting earlier statements from an internal engineer about eliminating C/C++ code by 2030 through AI and Rust integration [2][3][9]. Group 1: Microsoft’s AI Strategy - The initial claim by a Microsoft engineer suggested that one engineer could rewrite one million lines of code in a month, which sparked significant online debate and concern about the feasibility and risks of such an approach [4][5][10]. - Many users expressed admiration for Microsoft's ambition but also raised alarms about the potential risks associated with aggressively pushing AI into critical codebases [6][10]. - The engineer later clarified that the post was intended to attract like-minded engineers and not to announce a new strategy for Windows 11, emphasizing that the project was more about exploring technology for language migration rather than a definitive plan [16][17]. Group 2: Concerns Over Code Quality and Legacy Issues - The transition from C/C++ to Rust raises concerns about the quality of AI-generated code, with estimates suggesting that current AI technology could produce a bug for every ten lines of code, leading to significant potential issues in a large codebase [13][25]. - Microsoft's historical reliance on C/C++ has resulted in approximately 70% of Windows security vulnerabilities being attributed to these languages, highlighting the need for a more secure alternative like Rust [25][26]. - The complexity and legacy of Windows code, accumulated over decades, pose significant challenges for any large-scale rewrite, as many existing implementations may be critical to system stability [38][40]. Group 3: Rust as a Potential Solution - Rust is viewed as a promising alternative due to its design focus on memory safety, which could help mitigate long-standing security issues in Windows [27][34]. - However, Rust's ecosystem is still maturing, and the transition would require substantial investment in developer training and adaptation, which could hinder immediate implementation [43][44]. - Despite the challenges, Microsoft has begun experimenting with Rust in rewriting parts of the Windows kernel, although this effort remains limited to a few modules [36]. Group 4: The Role of AI in Development - The rapid advancement of AI programming capabilities presents an opportunity for Microsoft to leverage AI as a bridge in transitioning to Rust, potentially reducing the barriers associated with the switch [45]. - However, the effectiveness of AI as a reliable tool for such critical tasks remains uncertain, and current AI technologies may not yet be capable of handling the complexities involved in core system engineering [46][48]. - Microsoft's CEO has emphasized the importance of AI in the company's future, indicating a strong internal push towards integrating AI into development processes, but the recent backlash suggests a need for a more measured approach [50][53][56].
用AI代码替换Windows里每一行C/C++!微软回应了