TypeScript
3 storiesTypeScript is an open-source programming language developed by Microsoft; it is a superset of JavaScript that adds static typing. Recent coverage has focused on LLM-driven ports of TypeScript codebases to Rust: one developer moved the TypeScript compiler, checker and LSP to Rust using OpenAI and Anthropic models at over $420,000 in API tokens, while Microsoft used AI agents to port its Copilot runtime from TypeScript to Rust for about $120,000. Another project builds an LLM from scratch in TypeScript to study transformers.
Related topics
A developer is building a ChatGPT-style model from first principles in TypeScript to deeply understand transformers. Chapters so far cover dataloaders, embeddings, and attention.
A developer ported the TypeScript compiler, checker and LSP to Rust using OpenAI and Anthropic models, spending over $420,000 in API tokens; Claude Opus 5.5 built a working v0 from scratch in 10 hours. The project claims 100% compatibility on tested projects, but the author says he never read the code, making it an early release.
Microsoft used AI agents to port its Copilot runtime from TypeScript to Rust, costing about $120K in tokens and three weeks of developer time, converting 430K lines across 135 releases into 800K lines of Rust with a 15.9x speedup on one benchmark.
That is everything