Skip to content

Comment on Go on Embedded Systems and WebAssembly

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.