Hacker News new | ask | show | jobs
by afiori 464 days ago
I would love if in mapping the typescript types to go they ended up building a "compiler plugin" to enhance go's type system.
1 comments

TypeGo by Microsoft (TM).

Considering how fast the TypeScript compiler is, the TypeGo -> Go transpilation might as well be similar (up to a constant factor) in speed to Go compilation itself.

I'd give it a try. As a highly enthusiastic Go programmer, a powerful TypeScript-like type system is something I'd welcome in Go with open arms.