3 ms·
I started using Evan Wallace's TypeScript [0] implementation (and bundler) written in Go and it's pretty fast (there are benchmarks too). I'm surprised this kin
by eatonphil 6y ago
I started using Evan Wallace's TypeScript [0] implementation (and bundler) written in Go and it's pretty fast (there are benchmarks too). I'm surprised this kind of thing is not something Deno's pursuing. Having used esbuild I see the future of web tooling as not necessarily written in (or compiled to) JavaScript.
[0] https://github.com/evanw/esbuild https://github.com/evanw/esbuild
- yawaramin 6y agoEsbuild isn't a typechecker, it's a bundler.
- uasi 6y agoThey are considering switching from tsc to a TypeScript compiler written in Rust[0][1], and `deno fmt` subcommand already uses it internally. [0] https://github.com/denoland/deno/issues/5432 https://github.com/denoland/deno/issues/5432 [1] https://github.com/swc-project/swc https://github.com/swc-project/swc
- yawaramin 6y agoswc is not a TypeScript compiler, it doesn't do any typchecking. It just strips out types and outputs JavaScript.