7 comments

[ 2.7 ms ] story [ 27.9 ms ] thread
> runtime for TypeScript written in Go

This makes it sound like the TypeScript runtime (interpreter or JIT) is written in Go, but the project uses the quickjs JavaScript runtime, which is written in C:

https://github.com/bellard/quickjs

Fast and go, choose 1. Go is possibly the slowest compiled major language
Probably the standard Go compiler doesn't provide many optimization? I just checked that the one used by The Computer Language Benchmark Game, and not gccgo.

Perhaps..