Get the latest tech news

How Twitch tamed a million lines of TypeScript


Million Lines of TypeScript December 21, 2025 At Twitch, my team’s charter was to define and maintain core engineering standards: performance constraints, architectural patterns, TypeScript usage, tests, and lint rules. These weren’t preferences — they were the mechanisms that allowed a million-line monolithic codebase to scale across 300 developers shipping code in a fast-moving environment.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Twitch

Twitch

Photo of TypeScript

TypeScript

Photo of lines

lines

Related news:

News photo

MyTorch – Minimalist autograd in 450 lines of Python

News photo

The Vietnam War: The Press on the Front Lines

News photo

Torch.ts – building PyTorch in TypeScript from scratch to learn