diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 13:55:23 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 13:55:23 -0700 |
commit | 2d0cdc28ee75c46d65f8e2e251010cd3698dc9a8 (patch) | |
tree | 6482beae6fff155877b395998ee405bcdb694306 | |
parent | 660759c84a256c15124a0e5d3ffcfbf8f02946bb (diff) | |
download | binaryen-2d0cdc28ee75c46d65f8e2e251010cd3698dc9a8.tar.gz binaryen-2d0cdc28ee75c46d65f8e2e251010cd3698dc9a8.tar.bz2 binaryen-2d0cdc28ee75c46d65f8e2e251010cd3698dc9a8.zip |
todo
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -60,6 +60,7 @@ 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. |