Compare a tiny webassembly application in different langagues. There are multiple wasm compiler. We will have a closer look a the rust (wasm-pack) and blazor (C#).
Github: https://github.com/rustwasm/wasm-pack
Langage: Rust
Pre requires:
Launch instruction:
- Build the wasm binary
cargo build && wasm-pack build
- Run webpack dev server
cd www
npm i && npm start
- Browse http://localhost:8080
Github: Asp.net Core
Langage: C#
Pre requires: dotnet
Launch instruction:
- run the server
dotnet run
- Browse http://localhost:5000 || https://localhost:5001