https://github.com/0xedu/wasm-is-fun
WASM playground! Just a repo to toy around with Webassembly and Rust
https://github.com/0xedu/wasm-is-fun
rust wasm wasm-bindgen web-assembly webassembly
Last synced: about 1 month ago
JSON representation
WASM playground! Just a repo to toy around with Webassembly and Rust
- Host: GitHub
- URL: https://github.com/0xedu/wasm-is-fun
- Owner: 0xEDU
- Created: 2025-05-12T18:33:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-12T18:42:27.000Z (about 1 year ago)
- Last Synced: 2025-05-12T19:50:57.769Z (about 1 year ago)
- Topics: rust, wasm, wasm-bindgen, web-assembly, webassembly
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WASM is fun!
This is a simple playground with [WebAssembly (WASM)](https://webassembly.org) and Rust. It allows you to compile Rust code to WebAssembly and run it in the browser.
## Requirements
- [Rust](https://www.rust-lang.org/tools/install)
- [wasm-bindgen](https://rustwasm.github.io/docs/wasm-bindgen/)
- [make](https://www.gnu.org/software/make/)
You can run the project simply by running `make` to compile the Rust code to WebAssembly and then serve the files using your preferred web server!
```bash
make
npx vite
```
## Why?
I wanted to better understand how WASM works and it can be used in the web. And I was bored :)