In short, the code is nearly 1:1 ported; you can open checker.ts and checker.go and find the same functions with the same logic. That wouldn't be possible in a lot of languages, especially the ones people immediately think of for a rewrite (but we want a port!)
Looks like a lot of people on the linked thread had the same thought and were similarly surprised, so I guess I'll just keep an eye on it instead of forking the discussion here.
In our testing, all the perf gains we get from Go are basically negated by WASM, such that the performance is actually the same as the old compiler! So, it won't get worse.
Comments
i never thought we'd actually ever get here
In short, the code is nearly 1:1 ported; you can open checker.ts and checker.go and find the same functions with the same logic. That wouldn't be possible in a lot of languages, especially the ones people immediately think of for a rewrite (but we want a port!)
Given the many similarities it already shares with TS, I'd expect it to be an even closer match line-by-line.
Once go gets wasi threads, then we can do better.