Urgent.News

What's breaking now, across thousands of outlets.

Tech

Github Migrates Copilot Runtime to Rust with AI-Assisted Rewrite

GitHub migrated more than 800,000 lines of Copilot runtime code from TypeScript and Node.js to Rust in about 14.5 weeks using AI-assisted development. The incremental migration used N-API interoperability, automated testing, human review, and 128 pull requests while continuing to ship releases. By Leela Kumili

GitHub has transitioned the backend for its Copilot tools, including the Copilot CLI, application, and SDK, from TypeScript and Node.js to Rust. This migration involved rewriting over 800,000 lines of code with assistance from AI technologies. The process, which took about 14.5 weeks, consisted of 128 pull requests and continued runtime releases.

Performance improvements were significant, with startup times dropping from 5.25 seconds to 292 milliseconds, and memory usage reduced from 100 MB per client. The new architecture allows the runtime to be embedded directly into host applications using a C API, or operated separately. Support for the Copilot SDK remains for TypeScript, Python, Go, .NET, Java, and Rust.

The migration utilized an incremental approach, replacing TypeScript components one by one with Rust versions while maintaining compatibility layers. AI agents primarily generated the new implementation, and human review and testing helped ensure quality. Community feedback highlighted the importance of verification for AI-assisted migrations, particularly concerning undocumented behavioral contracts in legacy systems.

Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at infoq.com →

More in Tech

Cloudflare suma al equipo de Deno para continuar celld

Cloudflare se queda con los creadores de uno de los runtimes de JavaScript más influyentes de la última década. Ryan Dahl, cocreador de Node.js y fundador de Deno, anunció este 9 de octubre de 2026…

  • Cloudflare acquires Deno team to develop celld platform
  • Deno Deploy to operate 6 months more before shutdown
  • Rust bindings and JS package registry to continue

karasu weekly update: language v2.0, a focus canvas, and 97% fewer SVG elements

karasu is a text modeling language for system architecture, inspired by the C4 model. You describe your system in .krs files and karasu draws the views: system, deployment, and team structure.

  • Karasu Weekly introduces focus canvas for dense diagrams
  • .krs language v2.0 released with closed vocabulary
  • 97% fewer SVG elements reduce output size

More from Friday 9 October →