rustbn.js
rustbn.js copied to clipboard
Compile to webassembly for speed
@axic would asm.js still need to be a fallback? Or can it be completely dropped in favour of wasm?
I think it is still needed as a fallback.
Also please note #29 has an attempt at this, but it is not finished. Feel free to pick it up.
How would you feel about using wasm-bindgen? It would eliminate the need to maintain any boilerplate code. The generated wasm artifact can then be converted to an asm.js like representation via wasm2js, seen here.
It should be fine, when this work started wasm-bindgen wasn't around or wasn't mature enough.