{"id":369017,"date":"2025-12-24T14:43:09","date_gmt":"2025-12-24T14:43:09","guid":{"rendered":"https:\/\/www.newsbeep.com\/au\/369017\/"},"modified":"2025-12-24T14:43:09","modified_gmt":"2025-12-24T14:43:09","slug":"microsoft-building-team-to-eliminate-c-and-c-translate-code-to-rust-using-ai-as-windows-11-adopts-rust","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/au\/369017\/","title":{"rendered":"Microsoft building team to eliminate C and C++, translate code to Rust using AI, as Windows 11 adopts Rust"},"content":{"rendered":"<p>            <a href=\"https:\/\/www.windowslatest.com\/wp-content\/uploads\/2025\/12\/Windows-11-error-screen.jpg\" data-caption=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"375\" class=\"entry-thumb td-modal-image\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2025\/12\/Windows-11-error-screen-696x375.jpg\"   alt=\"Windows 11 error screen\" title=\"Windows 11 error screen\"\/><\/a><\/p>\n<p>Microsoft is building a team dedicated to eliminating \u201cevery line of C and C++ from Microsoft by 2030,\u201d which might touch Windows 11. While C powers the bulk of the Windows kernel and low-level components, including Windows APIs (Win32), C++ is used to build native Windows apps.<\/p>\n<p>Update: After this story got attention, <a href=\"https:\/\/www.windowslatest.com\/2025\/12\/24\/microsoft-denies-rewriting-windows-11-using-ai-after-an-employees-one-engineer-one-month-one-million-code-post-on-linkedin-causes-outrage\/\" rel=\"nofollow noopener\" target=\"_blank\">Microsoft told us that it will not rewrite Windows using AI<\/a>. Microsoft Distinguished Engineer Galen Hunt added a clarification on LinkedIn: Windows is not being rewritten in Rust with AI. He said his team\u2019s work is a research project to build tech that makes language-to-language migration possible.<\/p>\n<p>Original story below:<\/p>\n<p>Microsoft\u2019s love for Rust is not exactly newfound, and nobody really hates Rust for all good reasons. Rust is a programming language (not to be confused with a framework like WebView2), and it\u2019s far more secure than C, which powers most of the native code in Windows, including its kernel.<\/p>\n<p>In a <a href=\"https:\/\/careerhub.microsoft.com\/careers\/job?domain=microsoft.com&amp;pid=1970393556639051\" target=\"_blank\" rel=\"noopener nofollow\">job listing<\/a>, Galen Hunt, who has been with Microsoft for the past three decades and is currently a Distinguished Engineer, confirmed that his team has an opening for an \u201cIC5 Principal Software Engineer.\u201d But it\u2019s far from a simple job listing. Windows Latest spotted some intriguing details on Microsoft\u2019s careers and LinkedIn post.<\/p>\n<p>In one of the LinkedIn posts, the company\u2019s top-level engineer says:<\/p>\n<p>\u201c[Our] goal is to eliminate every line of C and C++ from Microsoft by 2030. Our strategy is to combine AI *and* Algorithms to rewrite Microsoft\u2019s largest codebases.\u201d<\/p>\n<p>All of that might sound delusional if you realize Windows is primarily written in C and C++, but Microsoft insists everything is possible when an engineer can use AI to write more than a million lines of code every month.<\/p>\n<p>\u201c1 engineer, 1 month, 1 million lines of code\u201d.<\/p>\n<p>A single engineer and one million lines of code every month, and you\u2019ll have \u201cC and C++\u201d eliminated from Microsoft. Microsoft is actively hiring such developers who would join the company\u2019s \u201celiminate C and C++ by 2030\u201d plan as an IC5 Principal Software Engineer.<\/p>\n<p>\u201cOur North Star is \u201c1 engineer, 1 month, 1 million lines of code,\u201d Microsoft\u2019s Galen Hunt wrote in a <a href=\"https:\/\/www.linkedin.com\/posts\/galenh_principal-software-engineer-coreai-microsoft-activity-7407863239289729024-WTzf\/#wl\" target=\"_blank\" rel=\"noopener nofollow\">LinkedIn post<\/a> spotted by Windows Latest.<\/p>\n<p><img decoding=\"async\" fetchpriority=\"high\" class=\"aligncenter size-full wp-image-85977\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2025\/12\/Microsoft-job-listing.jpg\" alt=\"Microsoft job listing\" width=\"856\" height=\"919\"  \/><\/p>\n<p>This statement follows a similar remark by Microsoft\u2019s Satya Nadella, who previously <a href=\"https:\/\/techcrunch.com\/2025\/04\/29\/microsoft-ceo-says-up-to-30-of-the-companys-code-was-written-by-ai\/\" target=\"_blank\" rel=\"noopener nofollow\">said<\/a> that up to 30% of the company\u2019s code was written by AI, and that this likely includes Windows as well.<\/p>\n<p>Microsoft says it\u2019ll deploy AI to \u201cmodify\u201d C and C++ code\u201d at a large scale and achieve the target by 2030 (hopefully)<\/p>\n<p>Microsoft has built a powerful \u201ccode processing infrastructure,\u201d which likely means the company trained its AI model on C and C++ code alongside Rust. This infrastructure uses \u201cAI Agents to make code modifications at scale.\u201d<\/p>\n<p>Microsoft is confident that its infrastructure will enable the company to evolve and translate most of the company\u2019s largest C and C++ systems to Rust.<\/p>\n<p>\u201cOur team is part of the Future of Scalable Software Engineering group in the EngHorizons organization in Microsoft CoreAI,\u201d a Microsoft engineer explained.<\/p>\n<p>Rust is more secure than C and C++, and likely a better choice, but can we trust AI agents to \u201ctranslate\u201d the codebase?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-85971\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2025\/12\/Windows-Rust.png\" alt=\"Windows Rust\" width=\"1300\" height=\"500\"  \/><\/p>\n<p>I love Rust, and rewriting parts of Windows in Rust is not a bad idea. Rust itself sounds like a better alternative than C and C++, largely due to proven security improvements, but our concern is with the AI-driven approach, not Rust.<\/p>\n<p>AI should be able to translate the syntax, but it might fail at the intent of the code, and that likely explains why we\u2019ve had <a href=\"https:\/\/www.windowslatest.com\/2025\/11\/01\/microsoft-confirms-windows-11-task-manager-bug-is-potentially-degrading-performance\/\" rel=\"nofollow noopener\" target=\"_blank\">Windows updates breaking basic features like Task Manager<\/a> or even <a href=\"https:\/\/www.windowslatest.com\/2025\/11\/05\/microsoft-warns-windows-11-25h2-24h2-october-update-triggers-bitlocker-recovery-on-pcs-for-businesses\/\" rel=\"nofollow noopener\" target=\"_blank\">causing the BitLocker recovery screen<\/a>.<\/p>\n<p>Rust is part of Microsoft\u2019s efforts to make Windows more secure, while WebView2 takes care of the frontend<\/p>\n<p>Microsoft has been advocating for Rust over C and C++ for nearly six years, but at that point, we had no clue that the company actually planned to dump C and C++ as soon as possible.<\/p>\n<p>\u201cWhat separates Rust from C and C++ is its strong safety guarantees,\u201d Microsoft <a href=\"https:\/\/www.microsoft.com\/en-us\/msrc\/blog\/2019\/07\/why-rust-for-safe-systems-programming\" target=\"_blank\" rel=\"noopener nofollow\">argues in a blog post<\/a> from 2019. \u201cUnless explicitly opted-out of through usage of the \u201cunsafe\u201d keyword, Rust is completely memory safe.\u201d<\/p>\n<p>Microsoft recently made Windows APIs ready for Rust developers. There\u2019s also a <a href=\"https:\/\/github.com\/microsoft\/windows-rs\" target=\"_blank\" rel=\"noopener nofollow\">repo on GitHub<\/a> called \u201cwindows-rs,\u201d which is a Rust projection (bindings + glue) of the Windows API, so Rust code can call Win32, COM, and WinRT the same way C++ or C# would.<\/p>\n<p>Microsoft also has a separate effort for Rust driver development (windows-drivers-rs on <a href=\"https:\/\/github.com\/microsoft\/windows-drivers-rs\" target=\"_blank\" rel=\"noopener nofollow\">GitHub<\/a>), which shows the company is exploring Rust beyond apps, too. And it turns out this whole \u201coptimize for Rust\u201d was not a one-off project or fancy \u201copen-source\u201d work, as the company is really serious about Rust.<\/p>\n<p>So far, Microsoft\u2019s attempt to replace native languages like C++, WinUI, XAML, etc, hasn\u2019t gone well with consumers or even enterprises. In fact, Microsoft has contributed to the\u00a0broader problem, where the most\u00a0<a href=\"https:\/\/www.windowslatest.com\/2025\/12\/07\/ram-prices-soar-but-popular-windows-11-apps-are-using-more-ram-due-to-electron-web-components\/\" target=\"_blank\" rel=\"noopener nofollow\">popular Windows apps are RAM-consuming monsters<\/a>, such as Discord or the company\u2019s own Teams.<\/p>\n<p>Windows UI is gradually shifting to web-based components. It\u2019s not just about apps, as we have React within the Start menu. Moreover, we\u2019re now getting WebView2 inside the Notifications Center for the Calendar\u2019s Agenda view. This means a new Edge\/WebView2 instance is triggered when you open the Notifications Center.<\/p>\n<p>Only time will tell how well these \u201cagentic\u201d programmers will translate C and C++ code to Rust or other languages across Windows and other Microsoft products.<\/p>\n","protected":false},"excerpt":{"rendered":"Microsoft is building a team dedicated to eliminating \u201cevery line of C and C++ from Microsoft by 2030,\u201d&hellip;\n","protected":false},"author":2,"featured_media":369018,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[256,254,255,64,63,105],"class_list":{"0":"post-369017","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-au","12":"tag-australia","13":"tag-technology"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/369017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/comments?post=369017"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/369017\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media\/369018"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media?parent=369017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/categories?post=369017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/tags?post=369017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}