GitHub repository card for pingdotgg/ts-rust, described as an experimental Rust port of the TypeScript 7 compiler
GitHub repository card for pingdotgg/ts-rust, described as an experimental Rust port of the TypeScript 7 compiler
+ AI News

An LLM-driven Rust port of TypeScript reports 181,711 passing tests

Ping's ts-rust reports a working compiler and language server. Its version pin, known bugs and token accounting matter when judging the LLM port.

Ping’s ts-rust repository reports an LLM-driven Rust port of the TypeScript compiler, type checker and language server, with all 181,711 ported Go tests passing. The project offers an npm package, tsc-rs, and reports faster type checks than the Go compiler on its published app benchmarks. Its author also says he has never read a line of the code.

The project gives developers a concrete case to examine when asking how far coding agents can take a large port. The README describes a working implementation with compatibility tests and known defects. Whether it can replace a team’s compiler depends on which TypeScript revision that team uses, how it builds projects and what it needs from the editor.

The successful attempt followed months of failed work

The author says GPT-5.6 Sol and GPT 6 Astra produced more than 1.3 million lines of Rust over several months of automated goal loops. He values those tokens at more than $400,000 at API prices and says compatibility stalled around 84%.

He then tried Opus 5.5 through Claude Code. According to his account, it produced a working first version in ten hours and started from scratch rather than continuing the earlier code. He let it run for two weeks, reporting roughly $24,047 in API-valued token usage through his Claude accounts. The README describes usage against $200-plan weekly limits, so the token valuation alone does not establish his actual cash spending.

These are the author’s accounts of successive attempts. The README supplies too little shared detail about prompts and execution conditions to treat the outcome as a controlled model comparison.

The author marks a section called “The Slop Line” and says the LLMs wrote everything below it. That includes the detailed compatibility and benchmark reports. Those reports are project claims, rather than results we reproduced.

What the port reports today

ts-rust ports Microsoft’s native Go implementation of TypeScript. It pins compatibility to upstream revision 673a5f17d713, dated September 29, 2026, for TypeScript 7.1.0-dev. The README directs users to compare it with typescript@7.1.0-dev.20260929.1.

The project reports identical diagnostics for TanStack Query core and Hono, passing language-server and API comparison tests, and checks against 120 open-source repositories. Its known differences include extra emitted files and TS6059 errors in some monorepos. Build mode can also read old or missing outputs when projects omit a needed project reference. During long editor sessions, it reports memory growth of about 20 MiB per 1,000 edits.

The npm package supports Linux x64 and macOS arm64. The repository also contains a WebAssembly build. It integrates Effect diagnostics, but the Effect-specific editor work, such as quick fixes and refactors, remains unported.

The speed claim depends on the workload

The README’s six-app benchmark reports a geometric-mean speedup of 1.61 times over TypeScript 7. It measures native binaries on an Apple M4 Pro, using the median of five runs after one warmup. The commands disable output generation and incremental checking.

Two rows show why both elapsed time and relative speed matter:

AppTypeScript 7ts-rustTime saved per check
VS Code6.84 seconds4.20 seconds2.64 seconds
tRPC server package0.16 seconds0.09 seconds0.07 seconds

The saved times are our subtraction of the published figures. Bun’s checker is faster than ts-rust on five of the six apps, though the README reports extra Bun errors on Sentry and tRPC. The distributed preview packages also omit the profile-guided and binary optimizations used for the project’s faster measured build.

Hacker News asks who will maintain it

In the Hacker News discussion, DanRosenwasser, identifying himself as a TypeScript team member, called the work impressive and said the team hoped to learn more. Other commenters questioned whether passing inherited tests establishes coverage for untested behavior.

The discussion also separates utility from maintenance. yoyohello13 questioned the reason to adopt a less-maintained implementation, while rowanG077 pointed to its reported speed. anonymous908213 raised the difficulty of changing code that nobody has read. Rapzid challenged the use of API-valued tokens as a statement of actual cost. Those concerns turn the adoption question toward future fixes and updates as well as today’s test results.

Sources

The AI Feed Desk

The AI Feed Desk

Editorial desk

The AI Feed Desk tracks AI provider updates, model releases, agent tooling, and enterprise adoption, turning fast-moving announcements into source-linked context for builders and operators.

Noticed a typo, incorrect information, or translation error?

Tell us so we can fix it.

Help Improve This Article

Related Articles

A Claude Opus 5 model control room routes coding, business, and research agent tasks through cost and safety controls

Claude Opus 5 becomes Anthropic's everyday agent model

Anthropic says Claude Opus 5 is available on Claude and the API at Opus 4.8 pricing, with stronger agentic coding and professional-work performance.

The AI Feed Desk

By The AI Feed Desk

A streamlined agent workspace with a smaller model core coordinating tools beside a larger reference model

Claude Sonnet 5 turns Anthropic's default model into an agent model

Anthropic made Sonnet 5 the default for Free and Pro users while positioning it as a lower-cost agentic model close to Opus 4.8.

The AI Feed Desk

By The AI Feed Desk

Collage of grid paper, a red numerical table and an archival photograph of a crew replacing a buoy

Anthropic launches the Anthropic Cyber Mission

Anthropic's Cyber Mission pairs industrial security support with free open-source scans. Maintainers still need capacity to review findings and apply fixes.

The AI Feed Desk

By The AI Feed Desk

A coding agent runs in isolated sandboxes while a training loop records tool-call tokens and hidden-test rewards

Hugging Face shows loop-owning training for coding agents

Hugging Face demonstrated a TRL and OpenEnv workflow that trains on the tokens produced by a real OpenCode agent loop in remote sandboxes.

The AI Feed Desk

By The AI Feed Desk

A luminous Q-shaped data path runs between cloud infrastructure and modular open model weights

Alibaba releases Qwen3.8-Max with QwenCloud access and open weights next week

Qwen3.8-Max puts Alibaba back into the frontier-model fight with a large coding-focused model available through QwenCloud now and open weights promised next week.

The AI Feed Desk

By The AI Feed Desk