如何看待微软Galen Hunt宣称要用AI+算法对所有C/C++程序重新为Rust程序?

AI Summary2 min read

TL;DR

微软计划在2030年前用AI和算法将所有C/C++代码重写为Rust,以提升内存和并发安全。目标是实现“1工程师、1个月、100万行代码”的转换效率。此举旨在解决C/C++的安全缺陷,而Rust通过编译器提供安全保障。

等Rust编译的时间摸鱼,看到InfoQ发表了一篇文章:“我们要彻底告别C++”!微软启动代码史上最大“拆迁”:Windows、Azure将用Rust重写 于是找到了LinkedIn 帖子原文:I have an open position in my team for a IC5 Principal Software Engineer. The position is in-person in Redmond. My 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’s largest codebases. Our North Star is “1 engineer, 1 month, 1 million lines of code”. To accomplish this previously unimaginable task, we’ve built a powerful code processing infrastructure. Our algorithmic infrastructure creates a scalable graph over source code at scale. Our AI processing infrastructure then enables us to apply AI agents, guided by algorithms, to make code modifications at scale. The core of this infrastructure is already operating at scale on problems such as code understanding. The purpose of this Principal Software Engineer role is to help us evolve and augment our infrastructure to enable translating Microsoft’s largest C and C++ systems to Rust. A critical requirement for this role is experience building production quality systems-level code in Rust—preferably at least 3 years of experience writing systems-level code in Rust. Compiler, database, or OS implementation experience is highly desired. While compiler implementation experience is not required to apply, the willingness to acquire that experience in our team is required.https://lnkd.in/gvzvAiJE 帖子下有人问「What is wrong with code being C/C++」,GH 的回答是「缺少内存安全、并发安全,虽然可以通过规范和努力来实现安全,但Rust可以编译器来证明」 还有问为什么不用C#的,回答是「缺少并发安全,以及性能问题」

Visit Website