diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 16:04:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 16:04:56 -0700 |
commit | a25d742c05732e9168494b434e15889352e3ee60 (patch) | |
tree | d18e840fc4331883b442f8a56eafab4cc52b8776 | |
parent | 773a24bb0b597255ab6c7fa2d33e3b7cc1a853cf (diff) | |
download | binaryen-a25d742c05732e9168494b434e15889352e3ee60.tar.gz binaryen-a25d742c05732e9168494b434e15889352e3ee60.tar.bz2 binaryen-a25d742c05732e9168494b434e15889352e3ee60.zip |
update readme
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,9 +61,9 @@ That will emit `a.html`, `a.js`, and `a.asm.js`. That last file is the asm.js mo ## TODO * Start running the output through WebAssembly interpreters. Right now it is likely wrong in many ways. - * 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. + * We could probably optimize the emitted WebAssembly. ## Testing |