Skip to content
This repository was archived by the owner on Sep 23, 2020. It is now read-only.

Zireael-N/wasm-bigint

Repository files navigation

WASM BigInt

A proof of concept of GMP (and TTMath) being compiled to WASM, as well as a benchmark comparing two implementations with native BigInt.

Both WASM implementations have a separate function for getting the result. It's implemented this way because in order to pass information from WASM to JS you have to convert the result to a string, that's not a zero-cost operation.

Build process

./compile.sh

Usage

python3 -m http.server --directory ./dist

or

cd ./dist && python -m SimpleHTTPServer

Then open http://localhost:8000 in your browser.

TravisCI

TravisCI is configured to push compilation artifacts to gh-pages.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published