Skip to content
Back to Guavy Wire
Stocks

Microsoft Rewrites Copilot Runtime with AI-Powered Code Rewrite

Instruments
MSFT
Share

Microsoft has successfully used artificial intelligence to rewrite its GitHub Copilot runtime from TypeScript to Rust. This project, led by AI agents, cost around $120,000 in token expenses and three weeks of work from a single engineer.

The original architecture was built on TypeScript and Node.js, which exposed bottlenecks in startup latency, memory consumption, and server density when deployed at scale.

After 14.5 weeks across 135 release versions, the AI agents converted approximately 430,000 lines of TypeScript into more than 800,000 lines of production-grade Rust code, resulting in a nearly 16x performance boost.

More on Stocks

Disclaimer: Guavy is a data and market intelligence provider, not an investment adviser. The information, signals, and market analysis provided by the Guavy API and related services are for informational purposes only and are not intended as financial advice, investment recommendations, or an endorsement of any particular trading strategy. Trading in volatile markets, including cryptocurrency, carries significant risk and may not be suitable for all investors. Past performance is not indicative of future results. Users should consult with a qualified financial professional before making any investment decisions. Guavy makes no guarantee of trading profits or financial returns.

Market sentiment intelligence for apps, funds & agents

Location

729 55 Ave SW
Calgary AB T2V 0G4
Canada

© 2026 Guavy Inc