Hacker News new | ask | show | jobs
by jackhalford 73 days ago
Could we compile tailscale with tinygo to run it on openwrt? Last time I checked tailscale was too large for 8MB flash routers
1 comments

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.