wagslane / rust-wasm-play-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-wasm-play-demo

This is a bare-bones repo to show the proof of concept for a WASM Rust playground. There is a more feature complete live version on Boot.dev here.

1. Install Dependencies

  • rustup
  • wasm32-unknown-unknown
curl -sS https://webi.sh/rustlang | sh
rustup target add wasm32-unknown-unknown

2. Clone

git clone https://github.com/wagslane/rust-wasm-play-demo
cd rust-wasm-play-demo

3. Build

go build

4. Run

./rust-wasm-play-demo

5. Wait

Wait a long time because Rust is not blazingly fast at compiling.

5. Open webpage

Open http://localhost:5000/app/ in your browser.

About


Languages

Language:Go 66.6%Language:JavaScript 23.1%Language:HTML 7.4%Language:Rust 2.9%