Skip to content

a1626/Webassembly-and-Emscriptem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

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.

References

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

debug: https://stackoverflow.com/questions/44346670/webassembly-link-error-import-object-field-dynamictop-ptr-is-not-a-number/44349363#44349363

Points to Remember

flags like -O1 are case sensitive.