Re:I’m porting the TypeScript type checker tsc to Go
by eyelidlessness on Tuesday January 25, 2022 @06:04PM
(#30079377)
And yet, it’s drastically slower in JavaScript than in Go, Rust and Zig. I realize different algorithms will optimize differently between JS and native code, but I sincerely doubt tsc is anywhere near optimal speed.
[ Parent
| on HN ]
Re:I’m porting the TypeScript type checker tsc to Go
by lucian1900 on Wednesday January 26, 2022 @06:43AM
(#30084354)
That's mostly because tsc's parser is used by the JS implementations.
Writing a parser for the purpose would achieve performance closer to the other implementations.