Can TypeScript be a compiled language one day?

2 points by craftoman ↗ HN
Is there any chance Typescript switch to another compiled language based on a new set of tools that would support this thing? Typescript is such a great typed flexible oop language, it's considered a playground from many developers. I wish one day we could compile to machine code using Typescript but is it possible and how many lines needed to accomplish such a thing? Can we fork a compiler or we have to write one from scratch?

3 comments

[ 1.6 ms ] story [ 21.2 ms ] thread
Assemblyscript already compiles Typescript to webassembly(it is almost a machine language)
Wow, I didn't know about these 2 projects. StaticScript looks very promising but it has no complete docs. I will give them a try.