Skip to content

sericaia/wasm-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is just a working example using WebAssembly

How to run

  1. Compile C to WASM emcc wasm/counter.c -O1 -o wasm/counter.wasm -s WASM=1 -s SIDE_MODULE=1

  2. Run npm install

  3. Run webpack to build your code (inside index.js) and wasm file, using wasm-loader. See webpack.config.js for details.

  4. Open index.html in browser and play around

Useful links

About

Working example using WebAssembly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published