This project covers example code for webassembly. Only counter.c
, helloWorld.c
and index.html
(a wasm loader) have been hand written and rest of the files have been genrated using emscripten.
webassembly: http://webassembly.org/
Emscripten: https://kripken.github.io/emscripten-site/docs/introducing_emscripten/index.html
Walkthrough: http://blog.openbloc.fr/webassembly-first-steps/?utm_source=ponyfoo+weekly&utm_medium=email&utm_campaign=issue-66
wasm loader: https://developer.mozilla.org/en-US/docs/WebAssembly/Using_the_JavaScript_API#Loading_our_wasm_module_and_using_it
flags like -O1 are case sensitive.