It is possible, but not very convenient yet. See https://github.com/kripken/emscripten/wiki/WebAssembly
Basically, you need to use a plugin script that does the wast=>wasm, because binaryen's binary support is not identical to browsers' (it's a little ahead of the them in following wasm development in some ways, and behind in others). As for connecting it, it should all just work, depending on what methods for code loading you say during compile time, see https://github.com/kripken/emscripten/wiki/WebAssembly#binaryen-methods I'll some more details now to those docs. On Tue, Mar 15, 2016 at 10:26 AM, Floh <[email protected]> wrote: > Hi, > > I'm currently playing around with binaryen to compile my demos to > WebAssembly, but it looks like this can only generate .wast (text) files, > is this correct? > > Is there a already way to create binary .wasm file with the help of > emscripten? > > I would *really* like to test my stuff with the new experimental > WebAssembly support in Firefox Nightly and Chrome Canary :) > > Cheers, > -Floh. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
