Comment on Go on Embedded Systems and WebAssemblyComments−jackhalford5moCould we compile tailscale with tinygo to run it on openwrt? Last time I checked tailscale was too large for 8MB flash routers−mayama5moLot of stdlib, especially net, crypto, in tinygo doesn't compile, or if compiles has stubs as implementation that panics with not implemented. Few years ago, I tried compiling small terminal http client app and failed at compile stage.https://tinygo.org/docs/reference/lang-support/stdlib/−ted_dunning5moTo be fair, "Few years ago" is a LONG time for tinygo.The essence of your first comment is still correct. Lots of libraries aren't there.Enough are there, however, for some pretty substantial projects.
Comments
Could we compile tailscale with tinygo to run it on openwrt? Last time I checked tailscale was too large for 8MB flash routers
Lot of stdlib, especially net, crypto, in tinygo doesn't compile, or if compiles has stubs as implementation that panics with not implemented. Few years ago, I tried compiling small terminal http client app and failed at compile stage.
https://tinygo.org/docs/reference/lang-support/stdlib/
To be fair, "Few years ago" is a LONG time for tinygo.
The essence of your first comment is still correct. Lots of libraries aren't there.
Enough are there, however, for some pretty substantial projects.