tinygo-site icon indicating copy to clipboard operation
tinygo-site copied to clipboard

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

Open jymchng opened this issue 1 year ago • 1 comments
trafficstars

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.

🤭👍

jymchng avatar Aug 18 '24 10:08 jymchng

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.

aykevl avatar Aug 18 '24 12:08 aykevl

Closing since no action required. Thanks!

deadprogram avatar Dec 09 '24 12:12 deadprogram