You can rewrite typescript in rust for $420k
Theo - t3.gg YouTube 196,914 views as of 6 November 2026
Why it is here
Theo (t3.gg) on ts-rust (aka tsc-rs, github.com/pingdotgg/ts-rust, ~1.2k stars on Oct 14), an experimental Rust port of the TypeScript 7 compiler, checker and LSP done by LLMs. The README says it ‘cost over $420,000 in tokens’ and reports a full type check about 3-4x faster than tsc 7 on T3 Code. No timeline entry yet; logged as a lead.
Description
Description written by Gemini from the videoGemini 3.8 Flash, 14 October 2026
Summary
Theo Browne (t3.gg) announces tsc-rs (also referred to as ts-rust), an autonomous agent-driven port and complete rewrite of the TypeScript compiler, type checker, and Language Server Protocol (LSP) in Rust. He details burning over $400k in OpenAI Codex tokens before switching to Claude Opus 5.5 to complete the project in two weeks without manually reading the code. Finally, he demonstrates why the project was built: to enable full-stack type checking, compiling, and dev server execution inside lightweight V8 isolates via WebAssembly rather than running expensive virtual machines.
What is shown
- [00:00] Announcement tweet and repository README for
tsc-rs, displaying token spending metrics ($420k+ total, ~$24k Opus 5.5) and performance charts. - [01:17] GitHub repository for
ts-rust(pingdotpg/ts-rust), reviewing directory structure, recent pull requests authored by automated agents (t3dotgg and claude), and crates. - [02:10], [31:37] Live interactive demonstration of “Isolate Studio,” running a vibe-coded full-stack Kanban board web application and dev environment inside a V8 isolate with real-time memory and CPU resource meters.
- [02:46] Sponsor demonstration of Qdrant vector database performing semantic video, issue, and facial thumbnail queries.
- [04:22] Excalidraw whiteboards diagramming TypeScript transpilation vs. type-checking,
esbuild, Go concurrency tradeoffs, and container/VM layers versus V8 isolates [35:18]. - [15:15] Account fleet dashboard (“CPAMC” and “T3 Code”) displaying weekly quotas, seat limits, and tracked inference spend across multiple Claude accounts.
- [17:28] Benchmark comparison charts across projects (VS Code, Playwright, TypeORM, Sentry, tRPC, Excalidraw, and T3 Code) testing
tsc 6,tsc 7(tsgo),bun check, andtsc-rs. - [34:47] Inspection of the
gostdcrate insidets-rust, highlighting how the agent faithfully ported Go runtime behaviors (such as goroutines) into Rust. - [41:48] Review of high-level steering prompt logs in Claude Code showing agent orchestration, task parallelization across remote VPS machines via SSH, and autonomous iteration loops.
- [42:26] Website overview of the MEGA Dev cohort course.
Claims & numbers
- The presenter claims agents worked on the project for 5 months, burning ~$400,000+ in OpenAI Codex API tokens (GPT-5.6 Sol and GPT-6 Astra) before stalling at ~84% compatibility [00:10].
- Switching to Claude Opus 5.5 completed the port in two weeks for ~$24,047 of API-equivalent token spend, consuming ~925%–983% of weekly plan limits across several accounts (costing around ~$500 in actual subscription fees) [00:17, 15:20].
- The presenter claims he has not read a single line of the generated Rust codebase [00:23].
- On benchmarks shown,
tsc-rsis reported as 12.5x faster than JavaScript-basedtsc 6and approximately 2x faster than Microsoft’s Go port,tsc 7/tsgo[01:30, 17:40]. - When running Effect diagnostics,
tsc-rswith built-in Effect checking is claimed to run about 4x faster thanbun checkpaired with an Effect pass [18:31]. - The presenter states that of the first 6 GitHub issues filed on
ts-rust, only 1 was specific to the Rust rewrite; the other 5 were reproduced upstream bugs present in TypeScript 7 [17:02]. - The presenter argues that while model inference costs drop by 10x to 100x annually, VM compute and RAM rental prices are increasing by 25–30% yearly due to hardware demand [24:00, 26:15].
- In the Isolate Studio demo, the presenter claims a full dev loop, in-memory filesystem, bundling, and type checking run within a V8 isolate using under 260 MB of RAM and ~4% CPU utilization without needing Docker or a real OS kernel [32:20, 39:56].
Notable quotes
- [00:22] “Important note: I have not read a single line of code.”
- [19:57] “I didn’t do this for perf. I did not make TypeScript Rust because I wanted something faster than TypeScript Go.”
- [32:26] “Do you understand how cool this is? This will allow for you to have an agent build an app where both the agent and the compute it runs on ... all together, for pennies.”
Assessment
This is a legitimate technical walkthrough and project demonstration showcasing an open-source codebase (ts-rust), terminal prompt histories, and working software prototypes. While the live UI and isolate performance demos function in real time as shown, claims regarding 100% real-world TypeScript compatibility reflect automated test suites and selected repositories rather than a formal exhaustive verification of the entire TypeScript language specification.
Described by gemini-3.8-flash on 2026-10-14 from the video’s audio and frames.
How AI was used to make it
AI made a small part of this video: subject built by ai.
- Agents ported the TypeScript compiler and LSP to Rust
- AI vibe-coded full-stack Kanban board app shown running in V8 isolate
Tools named: Claude Opus 5.5, OpenAI Codex
Classified by gemini-3.8-flash from our description of the video (high confidence), 25 October 2026. How AI is used to make videos, across the whole log