← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

TypeScript Compiler, Checker, and LSP Ported to Rust Using LLMs

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • TypeScript compiler, checker, and LSP ported to Rust.
  • LLMs, primarily Claude Opus 5.5, performed the porting.
  • Achieved 100% compatibility in tested real-world projects.
  • Provides a drop-in replacement for most TypeScript apps.

LLM-Assisted Porting to Rust

A new project has successfully ported the TypeScript compiler, checker, and language server protocol (LSP) to Rust. This port, named tsc-rs, was primarily accomplished using large language models (LLMs). Initial attempts with OpenAI's GPT-5.6 Sol and GPT 6 Astra models incurred over $400,000 in token costs and did not achieve full compatibility. However, Claude Opus 5.5 completed a working version in 10 hours, starting from scratch, with a total token spend of approximately $24,047 over two weeks.

Project Goals and Compatibility

The project aimed to test LLM capabilities, create a fast TypeScript type checker, and enable high-performance TypeScript checking in WebAssembly (WASM). The tsc-rs port claims 100% compatibility in all tested real-world projects and functions as a drop-in replacement for the majority of applications. It maintains the algorithms and behavior of the original TypeScript compiler, which is written in Go, and uses the same command-line interface (tsc), language server, and API.

Installation and Usage

Users can install tsc-rs via npm using `npm install -D tsc-rs` and execute it with `npx tsc-rs -p tsconfig.json`. The `tsc-rs` command accepts the same options as the standard `tsc` command. The npm package is named `tsc-rs` to avoid conflicts with the existing `typescript` package. Standalone archives containing the `tsc` binary and lib files are also available for Linux x64 and macOS arm64 platforms.

Integrated Language Service Diagnostics

tsc-rs includes built-in Effect language service diagnostics (codes 377xxx). This integration means that Effect projects do not require a separate compiler, as these diagnostics originate from the same check as TypeScript diagnostics and are displayed by the language server.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Oct 08

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

A new project, tsc-rs, has successfully ported the TypeScript compiler, checker, and language server protocol (LSP) to Rust. This port was achieved using large language models (LLMs), specifically Claude Opus 5.5, and aims to provide a faster TypeScript type checker with high performance, including in WebAssembly environments.