How to test and develop with asm.js?

微笑、不失礼 提交于 2019-12-03 15:19:10

You can try it by using emscripten with ASM_JS=1 and running it in a firefox build from a side branch. Links and more instructions are in these slides about asm.js, http://kripken.github.com/mloc_emscripten_talk/#/

Use the '-s' command line option of the compiler, like thus:

./emcc -O1 -s ASM_JS=1 tests/hello_world.c
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!