Oriel — AI & technology worth noticing, every day.

Tsrs: A Port of TypeScript to Rust

Web page · https://blog.cloudflare.com/typescript-rust-port

Cloudflare is collaborating on tsrs, a Rust port of TypeScript that is up to 8x faster and uses 70% less memory.

First seen by Oriel on .

AI summary

Cloudflare, VoidZero, and collaborators are developing tsrs, a Rust port of the TypeScript compiler that aims to stay faithful to upstream while improving speed, memory use, and WebAssembly portability.

  • Early benchmarks show tsrs is up to 8x faster and uses about 70% less memory than TypeScript 7.0 with the same number of type check workers.
  • TypeScript 7.1 beta is already up to 2.5x faster than TypeScript 7.0, and some tsrs optimizations have been upstreamed.
  • Rust is intended to make TypeScript practical in WebAssembly environments, including Cloudflare Workers, browsers, embedded devices, and IoT applications.
  • The team plans to track upstream TypeScript changes with automated reviews and tests, minimize behavioral differences, and contribute performance improvements back to TypeScript.
  • An experimental npm release is available; the project is also being merged with tsc-rs to support TypeScript features including LSP and content mappers.

#typescript #rust #webassembly #developer tools

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 426, latest observation ; +398 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 207, latest observation ; +201 over observed period since

Aliases

SourceExternal IDURL
Cloudflare Blog01M5C833HV3W30PBZZYVMCVRR6https://blog.cloudflare.com/typescript-rust-port/ Read discussion
Hacker News50165953https://blog.cloudflare.com/typescript-rust-port/ Read discussion