Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wagslane/rust-wasm-play-demo
https://github.com/wagslane/rust-wasm-play-demo
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wagslane/rust-wasm-play-demo
- Owner: wagslane
- Created: 2023-01-13T18:13:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-26T21:11:14.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T21:06:30.512Z (5 months ago)
- Language: Go
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://boot.dev/playground/rs).
## 1. Install Dependencies
* rustup
* wasm32-unknown-unknown```bash
curl -sS https://webi.sh/rustlang | sh
rustup target add wasm32-unknown-unknown
```## 2. Clone
```bash
git clone https://github.com/wagslane/rust-wasm-play-demo
cd rust-wasm-play-demo
```## 3. Build
```bash
go build
```## 4. Run
```bash
./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/](http://localhost:5000/app/) in your browser.