Compare tsrs with your existing TypeScript check
Try the experimental Rust port without replacing the compiler that currently validates your project.
Originally posted · Published here · 1 source · Resume reading
Cloudflare describes tsrs as an experimental Rust port developed with VoidZero and Max Schwenk in collaboration with the TypeScript team. Its announcement reports benchmark improvements against TypeScript 7.0, with matching worker configurations. [1]
Those results do not measure your project. Keep your existing type check while evaluating the port.
Try it in an isolated checkout
Cloudflare documents these commands: [1]
npm install tsrs
npx tsrsThe install changes the project's dependencies. Use a branch or disposable checkout so you can review that change separately.
Compare results before speed
Run your existing check and tsrs on the same revision. Compare the diagnostics and exit status before comparing elapsed time. Use the same machine and worker settings for repeated measurements.
The announcement notes behavioral differences such as diagnostic ordering and discusses ongoing work toward matching upstream TypeScript. [1] Record any difference that affects your build. Keep the established compiler in CI until you have resolved it.
Keep this guide
Filed under Dev tools
Sources
- Cloudflare introduces tsrsblog.cloudflare.com
Next in this stack
Keyword UV
Race uv against pip on a cold cache install
Keyword DRAW
Add drawing, diagram and film skills to your agent
Keyword SELFFLOW
Compare Zapier, n8n and Activepieces