Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reklatsmasters/webassembly-examples
From Simple To Complex. A complete collection of webassembly examples.
https://github.com/reklatsmasters/webassembly-examples
clang cpp emcc emscripten example examples js llvm nodejs wasm wast webassembly
Last synced: 3 months ago
JSON representation
From Simple To Complex. A complete collection of webassembly examples.
- Host: GitHub
- URL: https://github.com/reklatsmasters/webassembly-examples
- Owner: reklatsmasters
- License: mit
- Created: 2017-08-06T16:51:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-30T11:01:13.000Z (about 7 years ago)
- Last Synced: 2024-04-17T04:48:16.453Z (9 months ago)
- Topics: clang, cpp, emcc, emscripten, example, examples, js, llvm, nodejs, wasm, wast, webassembly
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 199
- Watchers: 9
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## webassembly-examples
From Simple To Complex. A complete collection of [webassembly](http://webassembly.org/) examples.
## Usage
For 1 - 8:
```sh
# start
node ./#-path-to-example/index.js# rebuild
cd #-path-to-example && wast2js script-name.wat -o script-name.js
```For 9+ see readme.
##### Ordered list of examples
* [simple function](%231-simple-function)
* [variables](%232-variables)
* [conditions](%233-conditions)
* [memory](%234-memory)
* [loop](%235-loop)
* [block, br, br_if and labels](%236-crc32)
* [call_indirect](%237-call-indirect)
* [shared library](%238-shared-library)
* [simple native function](%239-native-build)
* [emscripten](%2310-emscripten)
* [emscripten (synchronous initialization)](%2313-emscripten-synс-require)
* [webassembly (npm module)](%2311-webassembly)
* [data structures](%2312-data-structures)
* [browser](%2314-browser)
* [webpack & emscripten](%2315-webpack)
* [hello, rust](%2316-hello-rust)
* [webpack (v3) + rust](%2317-webpack-v3-rust)
* [webpack#next + rust](%2318-webpack-next-rust)### License
MIT, 2017+ Dmitriy Tsvettsikh