[{"data":1,"prerenderedAt":113},["ShallowReactive",2],{"story-6987-cn":3},{"id":4,"slug":5,"slugs":5,"currentSlug":5,"title":6,"subtitle":7,"coverImagesSmall":8,"coverImages":9,"content":25,"questions":26,"relatedArticles":39,"body_color":111,"card_color":112},"6987",null,"AI 重写代码：微软的激进编程语言变革","- 人工智能通过前所未有的代码现代化策略变革软件工程",[],[10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,12],"https://cdn.thenewstack.io/media/2025/12/356e9682-michael-schaffler-mrtj1jph8xq-unsplash-1-1024x683.jpg","https://cdn.mos.cms.futurecdn.net/DSboWdSP8wkfPzBSVP5NGf-1200-80.jpg","https://img.36krcdn.com/hsossms/20251223/v2_04b9862d88024014ab3d59275d598ea6@46958_oswg531450oswg1080oswg1073_img_000?x-oss-process=image/format,jpg/interlace,1","https://www.webpronews.com/wp-content/uploads/2025/12/article-4664-1766466665.jpeg","https://thurrott-assets.nyc3.digitaloceanspaces.com/web/wp-content/uploads/sites/2/2023/01/rust.jpg","https://cdn.gulte.com/wp-content/uploads/2025/12/Microsoft-coding.jpg","https://ppc.land/content/images/size/w2000/2025/12/ad-microsoft-engineer.jpg","https://regmedia.co.uk/2020/04/28/shutterstock_rust_logo.jpg","https://www.techzine.eu/wp-content/uploads/2024/11/Rust_programming_language_black_logo.svg_.jpg","https://assets.thehansindia.com/h-upload/2025/12/23/1611148-microsoft.webp","https://www.windowslatest.com/wp-content/uploads/2025/12/Windows-11-error-screen.jpg","https://cdn.neowin.com/news/images/uploaded/2025/07/1751953649_depositphotos_671523380_l.webp","https://hardforum.com/data/attachment-files/2025/12/1152475_Microsoft-job-listing.jpg","https://akm-img-a-in.tosshub.com/indiatoday/images/story/202512/microsoft-062743300-16x9.jpg?VersionId=4M9rR1aSEjaRkRoTzOtB.A1CRlHMRVlx?size=1280:720","https://www.fudzilla.com/media/k2/items/cache/de5097b0d6adff1d1d225b5ad991e043_XL.jpg","**人工智能**正在从根本上重塑软件开发，微软推出了一项大胆的计划，旨在通过人工智能驱动的代码翻译彻底改变其技术基础设施。 公司的这一大胆战略涉及系统地淘汰 **传统编程语言**，如 C 和 C++，到 2030 年用更现代、与人工智能兼容的替代方案取代数百万行代码。\n\n**战略代码转型**不仅仅是技术升级——它也是软件工程的一个分水岭时刻。 微软正在推行一项前所未有的举措，工程师每月必须重写 100 万行代码，并将 **Rust** 定为首选的下一代编程语言。 这不仅仅是语言交换； 它是对软件构建、维护和演变方式的全面重新构想。\n\n更深层的意义在于 **人工智能不断扩大的作用**，它作为一种变革性的工程工具。 通过使用先进的人工智能代理和算法来分析、翻译和重写复杂的代码库，微软正在证明人工智能可以解决以前被认为是棘手的工程难题。 该计划标志着一个深刻的转变：编程语言不再是静态的人工制品，而是动态的、可适应的系统，可以通过智能自动化进行系统地现代化。\n\n对于技术专业人士和企业而言，这一发展代表着一个关键的转折点。 其影响远不止微软——这种方法预示着一个未来，**人工智能优化的编程**将成为标准，而不是例外。 各公司将需要迅速提升其工程团队的技能，投资于人工智能驱动的开发工具，并重新思考其应对技术债务和系统现代化的方法。\n\n最引人注目的是转型的规模和雄心。 通过承诺在六年内对整个代码库进行全面改造，微软实际上将整个软件基础设施视为一个活的、不断进化的有机体。 这种方法挑战了传统的软件维护概念，表明激进的、人工智能驱动的重新构想可能比增量更新更有效。",[27,30,33,36],{"title":28,"answer":29,"author":5,"avatar":5,"time":5},"这次大规模的代码转换会带来什么风险？","主要风险包括翻译期间潜在的系统中断、维护数百万行代码兼容性的复杂性，以及工程团队需要进行的大量再培训。 然而，微软的分阶段方法和人工智能驱动的工具旨在缓解这些挑战。",{"title":31,"answer":32,"author":5,"avatar":5,"time":5},"对于软件开发者而言，更广泛的影响是什么？","开发者将需要在 AI 辅助编码方面迅速提升技能，学习 Rust，并适应更具动态性、AI 驱动的开发方法。 行业正朝着将编程语言视为可以智能地现代化的适应性系统，而不是静态代码库的方向转变。",{"title":34,"answer":35,"author":5,"avatar":5,"time":5},"人工智能将如何帮助翻译数百万行代码？","微软正在使用先进的 AI 代理和算法，可以系统地分析现有代码，理解其功能逻辑，并将复杂函数自动转换为 Rust。这种方法实现了大规模代码转换，同时将人工干预降到最低，并降低了引入错误的风险。",{"title":37,"answer":38,"author":5,"avatar":5,"time":5},"微软为什么要用Rust替代C和C++？","Rust 提供了卓越的内存安全、更好的性能，以及与人工智能机制更强的兼容性。 通过从旧语言过渡，微软旨在创建一个更安全、更高效、且为人工智能做好准备的编程生态系统，以支持下一代软件开发挑战。",[40,45,50,55,59,63,67,71,75,79,83,87,91,95,99,103,107],{"id":41,"title":42,"source":43,"logo":14,"time":44},136812,"Microsoft to Replace All C/C++ Code With Rust by 2030","https://www.thurrott.com/dev/330980/microsoft-to-replace-all-c-c-code-with-rust-by-2030","4天前",{"id":46,"title":47,"source":48,"logo":23,"time":49},136811,"Microsoft to replace all C and C++ code with Rust, hints 1 engineer must write 1 million lines every month","https://www.indiatoday.in/technology/news/story/microsoft-to-replace-all-c-and-c-code-with-rust-hints-1-engineer-must-write-1-million-lines-every-month-2840367-2025-12-23","3天前",{"id":51,"title":52,"source":53,"logo":20,"time":54},139957,"Microsoft confirms \"eliminate C and C++\" plan, translate code to Rust using AI, as Windows 11 adopts Rust and WebView2","https://www.windowslatest.com/2025/12/24/microsoft-confirms-eliminate-c-and-c-plan-translate-code-to-rust-using-ai-as-windows-11-adopts-rust-and-webview2/","2天前",{"id":56,"title":57,"source":58,"logo":15,"time":54},140829,"Shocking: Engineer Must Write 1 Million Lines of Code in 1 Month?","https://www.gulte.com/trends/388205/shocking-engineer-must-write-1-million-lines-of-code-in-1-month",{"id":60,"title":61,"source":62,"logo":18,"time":49},136810,"Microsoft sets 2030 target to replace C and C++ code with Rust","https://www.techzine.eu/news/infrastructure/137484/microsoft-sets-2030-target-to-replace-c-and-c-code-with-rust/",{"id":64,"title":65,"source":66,"logo":16,"time":49},136809,"Microsoft bets on AI to rewrite Windows after code it wrote broke the OS","https://ppc.land/microsoft-bets-on-ai-to-rewrite-windows-after-code-it-wrote-broke-the-os/",{"id":68,"title":69,"source":70,"logo":21,"time":49},136808,"Microsoft veteran wants to replace every single line of C/C++ code with Rust and AI","https://www.neowin.net/news/microsoft-veteran-wants-to-replace-every-single-line-of-cc-code-with-rust-and-ai/",{"id":72,"title":73,"source":74,"logo":12,"time":49},136805,"\"We're saying goodbye to C++ once and for all,\" Microsoft initiates the biggest \"demolition\" in code history: Windows and Azure will be rewritten in Rust.","https://eu.36kr.com/en/p/3607870104257798",{"id":76,"title":77,"source":78,"logo":24,"time":49},136807,"Microsoft vows to bin C and C++ by 2030","https://www.fudzilla.com/news/62260-microsoft-vows-to-bin-c-and-c-by-2030",{"id":80,"title":81,"source":82,"logo":19,"time":49},136806,"Microsoft Eyes Massive Shift From C/C++ to Rust With AI-Led Code Rewrite Plan","https://www.thehansindia.com/technology/tech-news/microsoft-eyes-massive-shift-from-cc-to-rust-with-ai-led-code-rewrite-plan-1033176",{"id":84,"title":85,"source":86,"logo":10,"time":54},140743,"Microsoft’s Bold Goal: Replace 1B Lines of C/C++ With Rust","https://thenewstack.io/microsofts-bold-goal-replace-1b-lines-of-c-c-with-rust/",{"id":88,"title":89,"source":90,"logo":17,"time":54},140744,"Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030","https://www.theregister.com/2025/12/24/microsoft_rust_codebase_migration/",{"id":92,"title":93,"source":94,"logo":5,"time":49},138396,"C Out, Rust In: Microsoft Stock (NASDAQ:MSFT) Gains With New Code Standardization Plan","https://www.tipranks.com/news/c-out-rust-in-microsoft-stock-nasdaqmsft-gains-with-new-code-standardization-plan",{"id":96,"title":97,"source":98,"logo":11,"time":49},138397,"Microsoft is using AI to purge C and C++ from its codebase by 2030","https://www.windowscentral.com/microsoft/windows-11/my-goal-is-to-eliminate-every-line-of-c-and-c-from-microsoft-by-2030-microsoft-bets-on-ai-to-finally-modernize-windows",{"id":100,"title":101,"source":102,"logo":22,"time":54},141604,"Engineer would like to rewrite Windows — in Rust — using AI","https://hardforum.com/threads/engineer-would-like-to-rewrite-windows-in-rust-using-ai.2045601/",{"id":104,"title":105,"source":106,"logo":13,"time":49},138372,"Microsoft to Swap All C/C++ Code for Rust by 2030 with AI Aid","https://www.webpronews.com/microsoft-to-swap-all-c-c-code-for-rust-by-2030-with-ai-aid/",{"id":108,"title":109,"source":110,"logo":12,"time":49},138373,"Abschied von C++: Microsoft startet größte \"Abbruchaktion\" in Codegeschichte - Windows und Azure werden in Rust neu geschrieben","https://eu.36kr.com/de/p/3607870104257798","#459427ff","#4594274d",1766753107835]