内存安全问题占比高的原因,主要是因为 Windows 大多是以 C 和 C++ 编写的——著名的“内存不安全”语言。内存管理代码只要有一个漏洞,就会导致大量的内存安全错误,从而可能引发远程代码执行或权限提升漏洞等攻击。
作者 |冬梅微软正在推动一项可能重塑整个软件工程史的长期工程:在 2030 年结束前,彻底消除其核心代码库中的 C 和 C++ 代码,并全面迁移至 Rust 语言。这一目标不仅涉及 Windows、Azure 等关键基础设施,也意味着对全球规模最大的商业代码资产之一进行系统性重构。1 微软工程师发帖称 2030 年前彻底淘汰 ...
微软不得不出来灭火:一条写着“2030 年消灭所有 C/C++、AI+Rust 重写最大代码库、目标是一人一月百万行代码”的 LinkedIn 帖子,把 Windows 级工程改造想象直接推上了热搜边缘。
IT之家 12 月 24 日消息,微软资深工程师加伦・亨特(Galen Hunt)12 月 20 日在 LinkedIn 发文,称其目标是在 2030 年之前,用 Rust 语言和 AI 辅助相结合的方式,替换“每一行”C 和 C++ 代码。
Rust 这两年在大厂的追捧下,凭借着出色的内存效率、速度与安全性,开始爆火。现如今,这把“火”直接烧到了诞生了 40 余载的 Windows 身上! 不久之前,微软企业和操作系统安全副总裁 David Weston 在以色列 Blue Hat IL 2023 安全大会上透露,微软将效仿 Linux,用 ...
干货福利,第一时间送达! 最近有小伙伴说没有收到当天的文章推送,这是因为微信改了推送机制,有一部分小伙伴刷不到当天的文章,一些比较实用的知识和信息,错过了就是错过了,建议大家加个星标⭐️,就能第一时间收到推送。 取代C++,Rust真的要重写 ...
干货福利,第一时间送达! 最近有小伙伴说没有收到当天的文章推送,这是因为微信改了推送机制,有一部分小伙伴刷不到当天的文章,一些比较实用的知识和信息,错过了就是错过了,建议大家加个星标⭐️,就能第一时间收到推送。 凭借卓越的内存效率 ...
Microsoft has announced the latest version of its Rust for Windows project, version 0.9. Rust for Windows is a language projection for Windows, and lets developers use any Windows API via the windows ...
Maintainers and developers are now using AI to help build Linux. Simultaneously, Rust has graduated to being a co-equal language with C for mainstream Linux development. However, the programming world ...
A job posting by a Microsoft engineer sparked excitement about a project “to eliminate every line of C and C++ from Microsoft ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Vivek Yadav, an engineering manager from ...
Microsoft has been interested in Rust for some time now, investigating its use as a type-safe and memory-safe alternative to C and C++ in systems programming tasks. With more and more of Microsoft’s ...