Port of the TypeScript compiler, checker and lsp to Rust, by LLM
What happened
A project called ts‑rust (also known as tsc‑rs) is an experimental Rust port of the TypeScript 7 compiler, its type checker and language server. The author used various OpenAI models, spending about $24,000 in API tokens over two weeks, to achieve a working version that claims 100 % compatibility with real‑world projects. The Rust implementation keeps the same command‑line interface, npm package name and VS Code extension behavior as the original TypeScript compiler. It can be installed via npm (tsc‑rs) or used as a standalone binary on Linux, macOS and Windows. The port includes built‑in Effect language‑service diagnostics, removing the need for a separate compiler for Effect projects.
Why it matters
For developers who prefer Rust’s performance and safety, this offers a drop‑in replacement for the standard TypeScript toolchain without changing existing workflows. It could lower the cost of running TypeScript builds in environments where Rust’s static binaries are advantageous.
Reality check
An automated, sceptical read of the sourceNotable. The work demonstrates that large language models can produce a functional, compatible rewrite of a complex compiler, though the core algorithms remain the same.
Is this a big deal?
Get stories like this every morning
The day's AI news in plain English, in your inbox at 8:30 IST. Free.
More AI news
Show HN: New Cartesia Text-to-Speech ModelIndustry news · 13 Nov 2026Chicago schools to Google – we'd rather lose Search than be forced to accept AIIndustry news · 13 Nov 2026Introducing ChatGPT WalletOpenAI · 13 Nov 2026Shield helps technicians hand off legacy portal work with OpenAIOpenAI · 13 Nov 2026How AI Is Helping Care Teams Get Patients the Right Care, SoonerNVIDIA · 13 Nov 2026This page was collected from github.com and summarised automatically by AIPulsee's pipeline. See how it runs.