The first step for beginners about WASM, WebAssembly
WebAssembly is required bunch of preperations for compiling native soruce codes. While you use emscripten directly install on your system, Surmma at Google Chrome Team suggests the alternative way with docker.
- Setup git, CMake, gcc and python on your system
- Install Emscripten toolchain and The WebAssembly Binary Toolkit
- Install compilers for Go, Rust and C/C++
Each demo has own npm dependencies or own environment to build and start application. In case of Node.js environment, for getting convenience of installation, you should install dependencies with yarn install --modules-folder=../node_modules
- clang: Emscripten and WASM APIs, Basic sample, show two of types compiling, static and dynamic
- clang-thread: Show how to use c with thread. Implementation of official sample from Google\
- clang-array: Show how to manage numberic array
- clang-simd: Show how WASM is working with SIMD
- rust: Rust Language with Emscripten and WASM APIs
- rust-parcel: Rust Language with parcel bundler
- rust-thread
- rust-wasm-bindgen: Rust Language with wasm-bindgen
- rust-wasm-pack
- rust-webgl
- rust-wasi-node: WASI demo with Rust and Node.js
- ts-assembly-script: Typescript(AssemblyScript) with WASM APIs
- go: Go with WASM
- asm-webpack: asm.js with WABT and webpack 4
MIT @ Jimmy Moon