diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 13:48:37 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 13:48:37 -0700 |
commit | 44d196ec4a14478924ccb585a8c5b028050ccc91 (patch) | |
tree | 65cc54ca46340e3f5db459a75b874ea5e90f2655 | |
parent | 310ef3b5425da52ccacb3bbcba70193e7e11b8cb (diff) | |
download | binaryen-44d196ec4a14478924ccb585a8c5b028050ccc91.tar.gz binaryen-44d196ec4a14478924ccb585a8c5b028050ccc91.tar.bz2 binaryen-44d196ec4a14478924ccb585a8c5b028050ccc91.zip |
mention opts
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,6 +48,7 @@ That will emit `a.html`, `a.js`, and `a.asm.js`. That last file is the asm.js mo ## TODO + * We should optimize the emitted WebAssembly, as you can see in the example above. * WebAssembly lacks global variables, so `asm2wasm` maps them onto addresses in memory. This requires that you have some reserved space for those variables. You can do that with `emcc -s GLOBAL_BASE=1000`. We still need to write the code to copy the globals there. * Emscripten emits asm.js and JavaScript, that work together using web APIs to do things like print, render, etc. Need to figure out how to test that. |