wasm_apps/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: MIT

README

WebAssembly example apps

C++ app

./wasm_cpp directory contains an example Arduino app (sketch) that is compiled to WebAssembly.
Compilation is performed using wasicc here, but clang --target=wasm32 can be used as well.
See build.sh for details.

Rust app

Before building the app, please install the toolchain:

rustup target add wasm32-unknown-unknown

To rebuild, use build.sh.

AssemblyScript app

Before building the app, please install npm dependencies:

npm install    # or yarn install

To rebuild, use npm run build.

TinyGo app

To rebuild, use build.sh.


Note: for all examples, the resulting wasm binary is converted to a C header using xxd.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL