0.1.0 β’ Published 6 years ago
wasm-game-of-life-zhunor v0.1.0
Implemantation of following tutorial Rust and WebAssembly project using wasm-pack.
Built with π¦πΈ by The Rust and WebAssembly Working Group
About
π Checkout the original template tutorial! π
Be sure to check out other wasm-pack tutorials online for other
templates and usages of wasm-pack.
π΄ Usage
π Boilerplate
Learn more about cargo generate here.
cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-projectπ οΈ Build with wasm-pack build
wasm-pack buildπΈ What's under www?
Using (https://github.com/rustwasm/create-wasm-app)
npm init wasm-app wwwcreate boilerplate for js & html
π Batteries Included
- wasm-bindgenfor communicating between WebAssembly and JavaScript.
###Β TODO
- console_error_panic_hookfor logging panic messages to the developer console.
- wee_alloc, an allocator optimized for small code size.
- Publish to NPM with - wasm-pack publish
0.1.0
6 years ago