-
-
Notifications
You must be signed in to change notification settings - Fork 369
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 is just one package away #679
Comments
Very good indeed! I made a quick replacement for the usage of Compilation now fails with a missing function in
|
The dev branch of tinygo has supported os.Setenv for about a month now. Try building the dev branch from source... or wait a week or so for the 0.22 release. |
@dkegel-fastly os.Setenv is just a minor problem. The missing timers is much more serious, see #682 The title of this issue is misleading, as it will be always "one package" away till all of them are supported :-) |
Thanks. That's tinygo-org/tinygo#1037 |
Tiny-go says they just released the support for timers. |
Depends on WASI support in Go. See: tinygo-org/tinygo#2910 |
Hey all I gave github.com/maxence-charriere/go-app/v10 a try today and the only bug is # github.com/maxence-charriere/go-app/v10/pkg/app
../../../../../../../../../../../pkg/mod/github.com/maxence-charriere/go-app/[email protected]/pkg/app/node.go:784:13: v.Equal undefined (type reflect.Value has no field or method Equal)
../../../../../../../../../../../pkg/mod/github.com/maxence-charriere/go-app/[email protected]/pkg/app/node.go:789:14: v.Equal undefined (type reflect.Value has no field or method Equal) from https://github.com/mlctrez/mlctrez.github.io/issues/1 where the test code is. |
I just saw the headline of this issued and can't resist commenting that this is like: Fusion, General AI and Half-Life 3. It may also end up like "Duke Nukem Forever", which was not very pleasing.
Well, this is not the only problem (not a bug at all) but just the current "first" problem. As far as I remember it was not even bringing the expected gains when it was getting compiled with TinyGo in a "cheated" fashion. So it may not even worth the effort. To not only leave a basically useless comment, I want to point out some things:
Sorry for being off-topic. I just can't see how TinyGo can be used and wanted to share some experience we made in the topic of cutting down the size of the (main) WASM module. |
Good news, I know that a lot of people are waiting for this.
The
net/http
andencoding/json
packages are now implemented in tinygo.The only package left for it to compile successfully is
text/template
:https://tinygo.org/docs/reference/lang-support/stdlib/#texttemplate
tinygo-org/tinygo#752
@maxence-charriere Could this be an easy to bypass stumble block?
Maybe this:
https://github.com/valyala/fasttemplate
Let's keep that issue open and track progress here.
The text was updated successfully, but these errors were encountered: