|
|

The GitHub Blog – 17 Sep 26 (https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-copilot/)

Migrating the GitHub Copilot runtime to Rust, using Copilot (https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-copilot/)
A rewrite this size wasn't affordable before agents. Here's what porting the Copilot agent runtime to 800,000 lines of production Rust actually took.
Est. reading time: 65 minutes[!quote]+
现在情况已经改变。我们利用 GitHub Copilot 应用和 Copilot CLI,用超过 80 万行生产级 Rust 代码彻底重写了运行时。大部分代码由 AI 代理编写,共提交了 128 个 pull request,这些 pull request 合并到主分支并逐步发布,而不是等到最后一次性切换。过程中,我们迅速发现并修复了少数不可避免的回归问题,同时运行时的性能也得到了数量级的提升。原本一个开发团队在代理加入之前需要花费一到两年时间才能完成的项目,现在主要由一名开发人员在短短几个月内完成,而团队的其他成员则继续大幅扩展运行时的功能和覆盖范围。 |
|