Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 787 Bytes

README.en.md

File metadata and controls

21 lines (13 loc) · 787 Bytes

WebAssembly Examples

Background

The MVP (Minimum Viable Product) doesn't support to use <script type="module"> to require a .wasm file yet (They plan to do this). The only way to access WebAssembly on the Web is through an explicit JavaScript API.

TODO: write more.

Getting Started

TODO: write more.

Examples

Each folder has a README inside. Here is an index:

  • simple: A simple example using asm.js.
  • cpp: A simple example using C/C++.
  • multi-wasm: Using multiple wasm files.
  • js-api: Call javascript API in wasm.
  • nbody: Performance test (using C).