vugu / vugu

Vugu: A modern UI library for Go+WebAssembly (experimental)
https://www.vugu.org
MIT License
4.8k stars 175 forks source link

Request for a volunteer: TinyGo support for v1.0 (or shortly after) #251

Closed owenwaller closed 2 weeks ago

owenwaller commented 7 months ago

At the minute the tentative plan is that we want to get Vugu to a v1.0 release using the standard Go compiler. This allows us to get the code base into slightly better shape (see the discussion under #246 for example).

Neither @bradleypeabody or myself are up to date with current state of TinyGo. So we have no idea what currently works and what doesn't.

There are some tests that should (or at least did) run under TinyGo, but against a older version. The latest TinyGo is v0.30.0 but the tests look like they are against v0.9.0. See here for example.

As there is interest in the community in using TinyGo (and I think we should support it) could someone please try to run the Vugu tests against the current version of TinyGo? Then, tell us what breaks. Doing this would really help at this stage and we'd greatly appreciate it. Once we have an idea how much work there is we can try to prioritise it. In the meantime we can keep working towards the v1.0.

If anyone happens to already be using Vugu with the latest (or at least a more recent version) of TinyGo, can you please open a PR with any patches? Again, we'd hugely appreciate this.

Thanks

Lord-Y commented 6 months ago

I guess that can be closed then as I made this PR https://github.com/vugu/vugu/pull/257

owenwaller commented 6 months ago

Yes and No :)

Yes, the version of TinyGo and indeed the version of Go we build with has been bumped and is now merged. No, because we really need someone to take ownership of this bit and track TinyGo changes for us.

Admittedly, no one has yet come forward to offer to do this, but having a someone do this would help. Now that the initial version bump has happened it might not be such a big task now.

owenwaller commented 2 weeks ago

I am going to close this because the v0.4.0 release makes two changes to how vugu uses the tinygo compiler suite.

1) Only the dockerized version of tinygo is used. We no longer use a local install of tinygo 2) The magefile always pulls the tinygo image based on the latest tag.

As a result there is no need to track the version of tinygo, it's not done automatically.

owenwaller commented 2 weeks ago

Closing