[{"data":1,"prerenderedAt":113},["ShallowReactive",2],{"story-6987-tw":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","**人工智慧**正在根本上重塑軟體開發，微軟發起了一項大膽的計畫，旨在透過 AI 驅動的程式碼翻譯，徹底改變其技術基礎設施。 這家公司的策略涉及有系統地淘汰 **傳統程式語言**，如 C 和 C++，並在 2030 年前，用更現代、與 AI 相容的替代方案取代數百萬行程式碼。\n\n**策略性程式碼轉型**不僅僅是一次技術升級，它更是軟體工程領域的轉捩點。 微軟正在推動一項前所未有的努力，工程師每月必須重寫 100 萬行程式碼，並將 **Rust** 定為首選的下一代程式語言。 這不僅僅是語言的交換，而是一個全面重新構想軟體如何建構、維護和演變的過程。\n\n更深層的意義在於 **AI 不斷擴大的角色**，它作為一種轉型性的工程工具。 透過使用先進的 AI 代理和演算法來分析、翻譯和重寫複雜的程式碼庫，微軟正在證明人工智慧可以解決先前被認為難以解決的工程挑戰。 這項計畫標誌著一個深刻的轉變：程式語言不再是靜態的產物，而是動態、可適應的系統，可以透過智慧自動化進行系統化的現代化。\n\n對於技術專業人士和企業來說，這一發展代表了一個關鍵的轉折點。 其影響遠遠超出了微軟的範圍，這種方法表明，**AI 最佳化程式設計**將成為標準，而不是例外。 各公司將需要迅速提升其工程團隊的技能，投資於 AI 驅動的開發工具，並重新思考其技術債務和系統現代化的方法。\n\n最引人注目的是轉型的規模和雄心。 透過承諾在六年內完成整個程式碼庫的全面改革，微軟基本上將其整個軟體基礎設施視為一個不斷發展的有機體。 這種方法挑戰了傳統的軟體維護觀念，暗示著激進的、AI 驅動的重新構想可能比增量更新更有效率。",[27,30,33,36],{"title":28,"answer":29,"author":5,"avatar":5,"time":5},"這大規模的程式碼轉換帶來哪些風險？","主要風險包括翻譯期間可能發生的系統中斷、維護數百萬行程式碼的相容性之複雜性，以及工程團隊所需的重大再培訓。然而，微軟的分階段方法和 AI 驅動的工具旨在緩解這些挑戰。",{"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 提供卓越的記憶體安全性、更佳的效能，以及與 AI 機制的更高相容性。藉由從舊有語言轉型，微軟旨在打造一個更安全、更有效率、且為 AI 做好準備的程式設計生態系統，以支援下一代的軟體開發挑戰。",[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","#ad9098ff","#ad90984d",1766753118687]