This is a React app to compare Javascript, Rust-WASM and Go-WASM. It depends on webassembly-tests-rust and webassembly-tests-go.
This project was bootstrapped with Create React App.
With these things this project was created and tested:
-
Node 10.15 with NPM 6.9 (using NVM)
# Install NVM and follow instructions curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash # Install Node and NPM nvm install 10 nvm use 10 npm install npm@6.9.0 -g
-
webassembly-tests-rust
Checkout somewhere, build and run there:
cd pkg npm link
And run here:
npm link webassembly-tests-rust
-
webassembly-tests-go
Checkout somewhere, build and run here:
ln -s <PATH_TO_IT>/bin public/go
npm run build
npm run start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
- ECMAscript logo: https://github.com/wingsuitist/ecmascript-logo/
- Rust logo: https://www.rust-lang.org/
- Go logo: https://blog.golang.org/go-brand