Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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