TS Rust
A project by Theo that rewrites the TypeScript compiler in Rust using Claude, achieving automated iterative optimization through verifiable comparison of compilation outputs.
Timeline (last 90 days)
Theo built projects on Claude including TypeScript rewritten in Rust (TS Rust), an alternative compiler that accelerates Rust compilation a hundredfold (Lust), and a skateboarding game Skate 3 Bench entirely generated by Claude, cumulatively running Claude for close to 4000 hours.
Theo first had TS Rust reach output completely identical to the official compiler, then required it to optimize to twice as fast as the official one; TS Rust ultimately produced about 1800 revisions and 7884 commits.
TS Rust cost about $38,000 at API prices, while Skate 3 Bench's inference cost approached $5,000, consuming over 12 billion tokens.
Theo considers TS Rust worthwhile because it can significantly shorten build times for real projects, while he describes the rest of the projects as "messing around."
In the TS Rust compiler project, after collaboration among more than 115 agents, Muse took on most routine repair work while Opus handled high-risk design decisions, and in the end Opus gave Muse a B+ and gave itself an A-.
All Facts (4)
Theo built projects on Claude including TypeScript rewritten in Rust (TS Rust), an alternative compiler that accelerates Rust compilation a hundredfold (Lust), and a skateboarding game Skate 3 Bench entirely generated by Claude, cumulatively running Claude for close to 4000 hours.
50%UnverifiedTheo first had TS Rust reach output completely identical to the official compiler, then required it to optimize to twice as fast as the official one; TS Rust ultimately produced about 1800 revisions and 7884 commits.
50%UnverifiedTS Rust cost about $38,000 at API prices, while Skate 3 Bench's inference cost approached $5,000, consuming over 12 billion tokens.
50%UnverifiedTheo considers TS Rust worthwhile because it can significantly shorten build times for real projects, while he describes the rest of the projects as "messing around."
50%