返回全部动态

GitHub 用 AI 辅助重写将 Copilot 运行时迁移至 Rust

原标题:Github Migrates Copilot Runtime to Rust with AI-Assisted Rewrite

InfoQ AI ML and Data Engineering商业质量 69

AI 摘要

GitHub 将 GitHub Copilot CLI、Copilot 应用和 Copilot SDK 背后的运行时从 TypeScript 和 Node.js 迁移到 Rust,通过 AI 辅助重写替换了超过 80 万行生产代码。迁移历时约 14.5 周,通过 128 个 PR 完成,期间持续发布运行时。GitHub 报告客户端启动、会话创建和单轮场景从 5.25 秒降至 292 毫秒,并可通过 C ABI 直接嵌入宿主应用。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

GitHub has migrated the runtime behind GitHub Copilot CLI, the Copilot app, and Copilot SDK from TypeScript and Node.js to Rust, replacing more than 800,000 lines of production code through an AI-assisted rewrite. The migration took approximately 14.5 weeks and was delivered through 128 pull requests while GitHub continued releasing the runtime. GitHub reports that a measured client startup, session creation, and single-turn scenario fell from 5.25 seconds with the previous runtime to 292 millis


发布时间:2026-10-09 22:29
抓取时间:2026-10-09 22:41
来源机构:InfoQ
阅读原文infoq.com