Open ghost opened 5 years ago
@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.
@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.
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.