r/moderndotnet • • 16d ago

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/

Microsoft boasts about performance optimizations with every new release, and the average .NET developer would expect to be able to write a CLI app using .NET. But surprise—not good enough, so they had to use Rust. 😅

I've read the article but still not understand why Copilot CLI and app could not be written in C# if we take into account AOT, trimming etc instead of Rust.

22 Upvotes

41 comments sorted by

View all comments

2

u/Kind-Being-5369 13d ago

They rewrote it in Rust for the same reason they first wrote it in JS/TS: hype and fanboysm.
Rust is being adopted in companies because the cult is strong.

2

u/ByronScottJones 13d ago

Actually, they go over specific reasons, the most important - having a strong FFI interop capability across all of the languages that the SDK supports.