# asmjs **Repository Path**: yushulx/asmjs ## Basic Information - **Project Name**: asmjs - **Description**: No description available - **Primary Language**: HTML - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Learning Emscripten and asm.js ## How to Run 1. Command: ``` emcc hello.c -o hello.html --preload-file ./asset -s NO_EXIT_RUNTIME=1 ``` 2. Open HTML pages in Firefox. If use Chrome, run ```emrun xxx.html``` first. ## Resources * http://kripken.github.io/emscripten-site/index.html * http://webassembly.org * https://developer.mozilla.org/en-US/docs/WebAssembly ## Blog [Learning Emscripten: Compile C/C++ to JavaScript][0] [0]:http://www.codepool.biz/emscripten-compile-cc-javascript.html