logoalt Hacker News

AbuAssar • today at 2:20 PM • 4 replies • view on HN

According to voidzero, this port is up to 8x faster than TS 7.0 & ~70% less memory.

Microsoft should seriously consider porting typescript to rust at this point


Replies

aleksandrm • today at 3:17 PM

I'm pretty sure they already considered it before settling on Go. Allegedly, they chose Go because it was easier to translate to.

➕ show 1 reply
ndr • today at 2:25 PM

I wonder how more frustrating is it to work on the compiler in rust vs go.

IIRC at the time of the port to go they wanted fast test and compile time, of course it's a different era now.

➕ show 2 replies
tgv • today at 2:31 PM

Idk. Apart from the fact that benchmarks are generally of questionable value, what's the point? Is the TS compiler unbearably slow?

➕ show 6 replies
Rapzid • today at 3:28 PM

Up to 8x faster seems kinda of a crazy claim. 8x faster at what?! TS 7.0 is reasonably well optimized and compiles VSCode in well under 10 seconds..

This can type check and compile VSCode in less than a second?

➕ show 2 replies