0.1.0 β’ Published 4 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 www
create boilerplate for js & html
π Batteries Included
wasm-bindgen
for communicating between WebAssembly and JavaScript.
###Β TODO
console_error_panic_hook
for 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
4 years ago