go-app
go-app copied to clipboard
possible to do a tinygo version only?
possible to do a tinygo version only?
See: #682 and related issues. Basically, it did not create so much smaller WASM and needs a very long time to compile, the last time we tried. I have some experimental code that uses tinygo to create modules that can be loaded in addition to the main program.
- 40% or 50% or even 30% smaller wasm is a lot. worth the time to compile. no point having pwa when it loads so long and bloated.
- do u know of any direction towards having tinygo compatibility or support? or anything other than go-app?
- do u think future version of golang will help with minimizing the size?
- I doubt it will be much better after gzip (I actually think I did a comparison with a version I got to compile).
- I honestly think that TinyGo is for "something else" (IOT). But a full compiler for WASM (+WASI) may come out at some day. I do not know about any other project that works like go-app. Most focus on connecting java-script libraries or even have their own front-end code which then needs a constant connection with a server.
- It would be strange if Go would not continue to get better with WASM, as WASM is a quite active field. I believe WASM may replace (docker like) containers in the future. However: I am not sure about code size reduction (after GZip). There is a lot in such executables which seems redundant. But that is kind of a "trademark" of Go (as well as its binaries). But every time somebody wants to strip stuff, it is missing later. I hope they continue on adding debugger support. The file size becomes less important every day with those blazing fast internet the world relies on already.
no point having pwa when it loads so long and bloated.
Actually, that is the point of having a PWA. You download and install it once (and on updates). If you think about loading it again and again, you maybe just do not need a PWA in the first place. This does not mean that I would be happy about lower sizes.
it almost works on v10
see https://github.com/mlctrez/mlctrez.github.io/issues/1#issuecomment-2091952764