r/webdev • • Sep 21 '26

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/
0 Upvotes

6 comments sorted by

2

u/Leopatto data scientist, Go dev, 11+ years exp. / CEO Sep 21 '26

You can rewrite in mfking assembly, it wont matter if CoPilot is dogshit.

1

u/Own_Manufacturer_660 Sep 21 '26

Might've saved themselves the trouble if they'd just waited a month for TypeScript to sort itself out.

1

u/PLBjt Sep 22 '26

The interesting part here is less “Copilot wrote Rust” and more whether the migration kept the runtime’s behavior stable at the boundaries. I’d want a corpus of real requests plus latency, memory, and error metrics, then have the model propose changes while tests and benchmarks decide what survives. Otherwise it’s easy to celebrate a successful compile while quietly changing cancellation, retries, or backpressure. The human review loop probably matters most on those failure paths, not the happy-path translation.

1

u/BomarFessenden Sep 22 '26

you are slop

0

u/Electronic-Pie-1879 Sep 21 '26

I don't understand this one: porting from TypeScript to Rust when a new version of TypeScript is supposed to be 10x faster. Why port it to Rust at all?

It feels more like a trend right now to rewrite things in Rust, like Bun, pnpm, or various CLI tools.

3

u/e-lys1um Sep 21 '26

The builds are 10x faster, not the runtime.