Welcome to my WebAssembly sandbox! This page is meant to be used as a very simple way to quickly test how much faster WebAssembly modules are compared to (minified) JavaScript.
This "application" is able to perform calculations on a big dataset. How big this dataset is going to be will depend on the options you select in the tool down below.
Once you're done, check out the section at the bottom of the page where you can run the business logic on your dataset. Please do keep in mind that it's impossible to change the way the business logic works. You can only change the size of your input dataset.
Lastly, make sure to check out https://github.com/tntmeijs/wasm_sandbox to inspect the source code of this application. Everything is open-source and licensed under the MIT license. :)
Install the Rust programming language
Install wasm-pack to help us compile Rust into WebAssembly
Install any webserver so we can serve this website - I like to use http-server
cd wasm_sandbox/rs_parser
wasm-pack build --target web
Run the HTTP server and serve everything in the repository's root folder