This got me thinking, Anders and the TS team are probably going to offer upstream some significant contributions to the Go toolchain and language (for their own sake of course, but it benefits everyone) and Go will get even faster and evolve a better type system. And the gap between clean JavaScript and vanilla Go is likely to get smaller and smaller, in terms of semantics. (I just learned a week ago that there's a struct proposal for JS.)
How do you see this going over the next 15 years? I wondered about 10 years ago if TypeScript would ever become part of JS, and that's starting to come true with the type-annotations proposal. Is it possible that the bridge between JS and Go will just shrink? That JS will evolve into Go? That WASM's ergonomics will evolve to make third party languages more "naturalized" citizens, with almost nothing getting between an e.g. Go module and a JS module or differentiating them except the file extension?
What do you all think?
Once that happens, any language that compiles to WASM can be "first class": Go, Rust, whatever you want, even C.
But taking a step back, I don't think the TypeScript team's usage of Go for their compiler provides much support for using Go in any general web scenario: their decision was carefully made for their somewhat unique situation and the code style of their existing TypeScript code.
I certainly don't think Go is in a better position to achieve this.
But more importantly, seems impossible that anything could join the web stack because every other language is certainly a much more complicated proposal.