3 ms·
>what are the odds an OSS project outperforms them at implementing their own language? A lot more than you imagine. Esbuild can already transpile 100x faster t
by rk06 6y ago
>what are the odds an OSS project outperforms them at implementing their own language?
A lot more than you imagine. Esbuild can already transpile 100x faster than typescript.(Note: esbuild does not typecheck).
If they use similar technique as esbuild, they can easily surpass typescript compiler in all functional areas
- atom_arranger 6y agoesbuild does not type check. TypeScript type checks and then emits code. Better performance can be achieved by just stripping types and emitting code. It would be great to improve the performance of type checking, but that’s more complicated. Some project are trying, the Deno maintainers have asserted that TypeScript should be rewritten in Rust for better performance. swc is trying to do that - https://github.com/swc-project/swc/issues/571 https://github.com/swc-project/swc/issues/571