Hacker News new | ask | show | jobs
by atonse 2 days ago
That made me wonder, since bun natively supports typescript, is it already using some kind of rust implementation of typescript?
1 comments

Bun does zero work in relation to TypeScript's type system. Since it's a strict superset, it is "simply" stripping types to execute the resulting JavaScript. That is effectively what it boils down to.

TypeScript is the most complex type system in existence. I am unsurprised it is difficult to port, but I am still a bit surprised by the length of the project thus far.