Skip to content

The news behind the software that runs companies, explained for everyone.

AI at work

Microsoft's AI agents rewrote 430,000 lines of Copilot code. The tokens cost $120,000.

Microsoft used AI agents to port the GitHub Copilot runtime from TypeScript to Rust, module by module, over 14.5 weeks, The Register reported.

ERP LEADERS news desk · · First reported by The Register · Edition no. 12

The bill was about $120,000 in token usage, plus roughly three weeks of developer time. The agents turned 430,000 lines of TypeScript into 800,000 lines of production Rust. They opened around 1.3 port pull requests a day across more than 135 releases, using GPT-5.6 Sol and Claude Opus 4.8.

Microsoft reports the rewritten runtime runs 15.9 times faster on its benchmark, rising from 7.55 to 120 lifecycles per second. Memory for a ten-client batch fell from 1,383 MB to 126 MB.

Stephen Toub, a Microsoft distinguished engineer, wrote that this is "in no way a claim that every large TypeScript program should become Rust", and that the idea "if it compiles, it's correct" is useful "only as a joke". Dozens of regressions came from ambiguous semantics and missing features no compiler could catch.

At RustConf, consultant Lisa Crossman said: "Rust stops the agent writing memory unsafe code; it does not stop the agent writing the wrong program correctly."

Which of your migrations is still quoted in consultant months when somebody could now quote it in tokens?

Sources

Spotted an error? Tell us. Every correction is logged on Standards.

Your reading room

Companies in this story

Our file on Microsoft

  1. 4 NovFiled later

    Microsoft and Google are not in the school platform six German states agreed to buy. Nextcloud supplies the software.

  2. 4 NovFiled later

    Microsoft says 8 GB Windows 11 PCs will multitask up to 40% faster. IT teams buying laptops face rising memory prices.

  3. 3 NovFiled later

    Microsoft calendars can be an hour off after a Canadian clock change. A fix for recurring meetings has no date yet.

  4. 2 NovFiled later

    Microsoft, Oracle and three peers cut buybacks 83% to $13.6bn. AI spending is eating their cash, a Reuters analysis found.

  5. 2 NovFiled later

    Microsoft's new reseller Copilot seats can add usage charges to the $21 monthly fee. The default cap is 4,000 credits per user.

All 70 Microsoft stories

For your next steering committee

Questions for your own programme. They are not findings about any company in this story.

  1. 1Ask which AI tools already touch your ERP or finance data, including the ones nobody approved.
  2. 2Ask what each tool is allowed to change, and who reviews what it changed.
  3. 3Ask how the result is measured, and who decides to switch a tool off.

Issue 01 of the ERP LEADERS brief puts a timeline, the three-number review and six questions on one page. Read issue 01

Founding reader view is on in this browser. It is a reading view, not secure access. Print the working sheet

Founding reader

Welcome back. · Issue 01

1 comment under this story on LinkedIn. Read the discussion

Keep reading

The ERP LEADERS brief Subscribe