5 ms·
> is go faster than rust? Depends on how you write the Go or Rust code. The most optimal Rust re-write of the TypeScript compiler would very likely be faster t
by notnullorvoid 1y ago
> is go faster than rust?
Depends on how you write the Go or Rust code. The most optimal Rust re-write of the TypeScript compiler would very likely be faster than the most optimal version in Go. However they didn't want to do a re-write, they wanted to port the existing compiler codebase written in TS. Go like TS (ultimately the JS runtime) also has GC which makes a 1-to-1 port much easier.