7 ms·
There is a new type checker called Ezno that is written in Rust and is a lot faster [1]. I have been tracking PRs like [2] that change the definitions to bette
by bk496 2y ago
There is a new type checker called Ezno that is written in Rust and is a lot faster [1].
I have been tracking PRs like [2] that change the definitions to better be optimised by V8. But the effects are only ~30% and not the 50x that might be achievable by native.
[1]: https://github.com/kaleidawave/ezno/actions/runs/10299707325 https://github.com/kaleidawave/ezno/actions/runs/10299707325
[2]: https://github.com/microsoft/TypeScript/pull/58928 https://github.com/microsoft/TypeScript/pull/58928
- IshKebab 2y agoHow fast does tsc process that input though? I would be very surprised if you can get to 50x faster - that's Python territory and JavaScript isn't that slow. 10x maybe?