• 请不要在回答技术问题时复制粘贴 AI 生成的内容
fulln
V2EX  ›  程序员

微软要在 2030 年前用 rust 重构 c/c++代码

  •  1
     
  •   fulln · Dec 23, 2025 · 6041 views
    This topic created in 317 days ago, the information mentioned may be changed or developed.

    https://www.thurrott.com/dev/330980/microsoft-to-replace-all-c-c-code-with-rust-by-2030

    Microsoft is taking an impressive step in modernizing its biggest codebases and will eliminate all C/C++ code by the end of the decade, replacing it with Rust.

    Imgur

    28 replies  •  2025-12-24 17:06:02 +08:00
    guotie
    guotie
    Dec 23, 2025
    1
    1 人 1 月 1 百万行代码,如果能实现,那以后确实不需要程序员来写代码了
    flyqie
    flyqie
    Dec 23, 2025
    2
    看了下文章,似乎是多种方式结合起来转换。。

    别到时候重构完更多的 BUG 出来了。。。
    visper
    visper
    Dec 23, 2025
    3
    rust 崛起!
    shakaraka
    shakaraka
    Dec 23, 2025
    4
    利好 rust
    dinjufen
    dinjufen
    Dec 23, 2025
    5
    刚用上 C++,又要学 rust 了吗
    aloxaf
    aloxaf
    Dec 23, 2025❤️3
    6
    虽然我喜欢 Rust ,但我觉得这属于高管的日常放屁言论,「 5 年把所有代码用 AI 转成 Rust 」——我都怀疑他是苹果或者 Linux 那边的间谍。
    GeminiPro
    GeminiPro
    Dec 23, 2025
    7
    不信,这是典型的吹牛逼。
    hronro
    hronro
    Dec 23, 2025
    8
    不是已经辟谣了,这只是微软某个员工的个人目标,非整个公司的目标。
    MrKrabs
    MrKrabs
    Dec 23, 2025
    9
    脑子先自动重启一下吧
    renmu
    renmu
    Dec 23, 2025 via Android
    10
    先把 bug 修一修吧
    iorilu
    iorilu
    Dec 23, 2025
    11
    都是靠 ai 工具转换吗
    kylesean
    kylesean
    Dec 23, 2025
    12
    roi 这么低的事,是正常人想的出来的吗?
    kssss
    kssss
    Dec 23, 2025
    13
    评论区真有意思
    zhanying
    zhanying
    Dec 23, 2025
    14
    快进到 unsafe boom
    cnbatch
    cnbatch
    Dec 24, 2025
    15
    如果这 5 年全心投入转换语言,那么 Windows 11 一大堆 UI bu 怕是没时间修了吧
    这是嫌市场份额太高了?
    cnbatch
    cnbatch
    Dec 24, 2025
    16
    而且 Windows 11 远不止 UI Bug ,任务栏随意放置的功能都还没弄回来,还有各种底层功能错乱(前几天就有一个 /t/1178718 ),这么拖下去遥遥无期了呢
    AmericanExpress
    AmericanExpress
    Dec 24, 2025 via iPhone
    17
    点进链接 再 distinguished eng 的 LinkedIn 原文 原来是个 job description
    为了招人这么标题党真的好吗
    artiga033
    artiga033
    Dec 24, 2025 via Android
    18
    微软经典全方位蹭 ai 热度罢了,疯魔程度比 meta 对元宇宙的执念还深
    yulon
    yulon
    Dec 24, 2025
    19
    Win11 MPO bug 浏览器卡死就是 Rust 闹的,估计这辈子都修不了了,以前顶多是屎山会有内存泄漏,重构一下连正常使用都有问题,是真滴牛批
    levelworm
    levelworm
    Dec 24, 2025
    20
    这个人是位 distinguished eng,我感觉水平肯定是有的,也许微软内部很多人的确有这个想法。
    levelworm
    levelworm
    Dec 24, 2025
    21
    @yulon #19
    求问细节,有办法用 windbg 定位吗?
    levelworm
    levelworm
    Dec 24, 2025
    22
    看了一圈,我感觉商业操作系统内核项目中 Rust 的地位应该会越来越重要了,倒不是说一定是个好决定,而是大势如此。不过也坚定了我自学 C 的决心。
    ryd994
    ryd994
    Dec 24, 2025 via Android❤️4
    23
    划重点“my goal”不是“Microsoft’s goal”。这是他个人的目标,不代表微软整体。搞什么大新闻。
    他自己吹个牛皮,最多就是他手下的人会听听,别的组的人理都不会理他。Windows 内核归 Cloud+AI 管,有没有问过 Scott Gu 答不答应?
    Windows 编译一次至少 12 小时,在集群里。除非是重大安全漏洞,普通的功能从 merge 到 release 少说也得半年。
    5 年?连 build pipeline 都没搭完呢。
    levelworm
    levelworm
    Dec 24, 2025
    24
    @ryd994 #23
    请问大佬是在 Windows 组吗?
    kemf
    kemf
    Dec 24, 2025
    25
    转一个 it 之家评论:‘我不是觉得 rust 不行,我是觉得微软不行’
    lcingOnTheCake
    lcingOnTheCake
    Dec 24, 2025
    26
    这种新闻纯属扯犊子
    rb6221
    rb6221
    Dec 24, 2025
    27
    阿三的嘴 骗人的鬼
    找点 KPI 顺便找理由多招阿三员工罢了
    YanSeven
    YanSeven
    Dec 24, 2025
    28
    @levelworm 为什么 Rust 大势所趋引出了自学 C 的决心。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4060 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 75ms · UTC 09:45 · PVG 17:45 · LAX 01:45 · JFK 04:45
    ♥ Do have faith in what you're doing.