Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinygo for embedded #21

Open
ghost opened this issue May 26, 2019 · 2 comments
Open

tinygo for embedded #21

ghost opened this issue May 26, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented May 26, 2019

We should give tinygo a try. Its very active and has been reasonable. sturdy in my tests.
https://github.com/tinygo-org/tinygo

It does not support 100% of the golang std though. But there is a good chance it will work.
I have not tried compiling the go client with it yet.
The simplest way is to use Docker as shown here: https://tinygo.org/getting-started/using-docker/

This would allow reuse of the go client on tiny embedded devices.
Pretty cool if we can leverage the code and logic.

@kelindar
Copy link
Contributor

@gedw99 Sorry for the late reply, seeing this just now. This would indeed be great, need to try to build the current version against tinygo and see if it'll work.

@gedw99
Copy link

gedw99 commented Jun 19, 2021

@kelindar a fair few other golang packages now work with tinygo, so work a try.
still a few gotchas but its getting really quite usable.

example: https://github.com/vugu/vugu works well with tinygo.

both for in browser and also when running under wasi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants