compile to native wasm
jimmywarting opened this issue · comments
can you compile a version that outputs wasm binaries and isn't tied to windows, mac or linux?
Thanks for the suggestion.
While we see that this could be useful, we do not have the bandwidth to make this happen right now.
However, we would gladly accept this as a contribution from the community.
from my understanding you are using graal? I have never worked with graalvm, java or any compile language before, so a bit tuff for me...
it seems like it have support for WASM as well? - source
it would be cool to be able to use closure compiler on the browser without having to download/install anything
Unfortunately, Graal native images do not support wasm. Here's the tracking issue on the Graal side: oracle/graal#3391
We can reopen this discussion after Graal has support, but until then there just isn't a path forward.