skywire icon indicating copy to clipboard operation
skywire copied to clipboard

Investigate compilation with Tinygo

Open 0pcom opened this issue 3 months ago • 0 comments

In the current list of standard library packages supported by tinygo, the only package I know of which is not importable but which is used by skywire is runtime/debug - used for versioning. Support for that may be implemented soon. Tinygo plans to support all golang's standard library packages.

There are some packages which do not pass tests which may be used by skywire currently.

Recently net and net/http have achieved full support. I think skywire uses net/url in some places as well, which still fails some tests.

An analysis of this should be done. If it is possible to compile skywire with tinygo, that would be a tremendous optimization - and such a compilation for release binaries would shrink the binary by approximately an order of magnitude.

0pcom avatar Sep 19 '25 18:09 0pcom