← Today's brief

Developers · Updated 20 Oct, 06:30 pm IST

Cloudflare, VoidZero and Owner.com port TypeScript to Rust as tsrs

Image: Cloudflare Blog

Why it matters for readers: It shows how rewriting compilers in Rust can speed up tools you use every day and enable new places to run them, like browsers.

  • Cloudflare, VoidZero and Max Schwenk are developing tsrs, a Rust port of the TypeScript compiler.1
  • Early benchmarks reported that tsrs is up to 8x faster and uses ~70% less memory than TypeScript 7.0 with the same number of type checks.1
  • The work is incubated as part of the Oxc JavaScript compiler toolchain and done in close collaboration with the TypeScript team.1
  • The teams emphasize they are not forking TypeScript and want the TypeScript team to remain in control of the language’s design and direction.1
  • One stated goal is to make TypeScript faster and more memory-efficient so complete development environments can run in more places, including in the browser.1

Get a brief like this every morning

Uzha reads hundreds of sources and gives you the stories that matter for your work, with every source linked. Free.

Get started