Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
ts
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wasm_tutorial

This project is used as a contrived example of how to use Web Assembly in the browser today.

follow the tutorial

If you are ready to see it in action the result is hosted here

If you wanted to run it yourself you would need to do the following

git clone https://github.com/freemasen/wasm_tutorial
cd wasm_tutorial
./build.sh
cargo run

The above command requires rustup and cargo are installed and will install the nightly version of the compiler as well as the wasm32-unknown-unknown target as wells as a few command line tools via cargo install. In addition to the rust dependencies you would need node/npm installed and the project will be installing all of the dependencies, including typescript and webpack.

contributing

If you have found a typo in the tutorial or an error in the code, please let me know by either opening an issue or pull request on this repo.

About

A project used for a meetup talk about getting started with rust & wasm

Resources

Releases

No releases published

Packages

No packages published