https://github.com/sanix-darker/zing
playing around with rust, react and wasm
https://github.com/sanix-darker/zing
Last synced: 7 months ago
JSON representation
playing around with rust, react and wasm
- Host: GitHub
- URL: https://github.com/sanix-darker/zing
- Owner: Sanix-Darker
- Created: 2024-07-24T10:45:53.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-24T17:51:00.000Z (about 1 year ago)
- Last Synced: 2025-01-29T23:27:49.532Z (8 months ago)
- Language: TypeScript
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Zing
Playing around with Rust, Wasm and React (with vite).
In this playground, am just compiling a rust wasm method that i inject at runTime in a react-app.
It's ridiculously fast...

## DEV REQUIREMENTS
- Rust installed.
- Node installed## INSTALLATION
```bash
$ cd rust-lib
$ make build-wasm# This will build a wasm zinb_bn inside ./react-app/src/zing/
# Yes, it needs to be versioned and therefore will be shiped to the client
# ON DEMAND
```## USE/TEST IT
```bash
$ cd react-app
$ npm install
$ npm run dev
# should be available on : http://localhost:5173/
```