You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current compiler of Wasm code to native machine code does not have optimizing like the JIT in Java. This means there is no code optimizing like the inline of functions. That JWebAssembly must already do this function inline at creating of the Wasm file.
Code samples that should JWebAssembly should optimize are welcome.
Welp. I hope it still matters for something. It can also have an interesting side effect where you could use this tool as a java to javascript transpiler, by going through webassembly.
Activity
Frontrider commentedon Sep 7, 2020
It could piggiback on this tool, used by a lot of the compilers.
https://github.com/WebAssembly/binaryen
There is a wasm to wasm optimizer in there.
Frontrider commentedon Sep 7, 2020
#9 may be related.
Horcrux7 commentedon Sep 7, 2020
Yes, this tool can show some optimization. But I think this tool does not know any over the original program. The optimization will be limited.
Frontrider commentedon Sep 9, 2020
Welp. I hope it still matters for something. It can also have an interesting side effect where you could use this tool as a java to javascript transpiler, by going through webassembly.