tinygo-org / tinygo-site

Web site for TinyGo project.
https://tinygo.org
57 stars 113 forks source link

When will you guys be compiling the tinygo compiler targetting WASM? #421

Open jymchng opened 3 months ago

jymchng commented 3 months ago

Hi, thank you for the great awesome work!

I think it will be a great feature if the tinygo compiler itself is compiled and targetting WASM so that people can start writing and running arbitrary Go codes on the browser.

🤭👍

aykevl commented 3 months ago

Right now TinyGo is compiled using the Go toolchain, which supports WebAssembly but doesn't support CGo at the same time. So this is not currently possible. See: https://github.com/golang/go/issues/55351

It would be really nice to have this though! It could also make things like the VSCode TinyGo extension better.