DEV Community

Discussion on: Memory Model in WebAssembly

Collapse
 
funnymania profile image
funnymania

Awesome Sendil. Thank you. I recently did a demonstration on the speed improvements of rust wasm crypto vs JS in the browser. I used wasm_bindgen, but it's good to see the memory model in action

Collapse
 
sendilkumarn profile image
Sendil Kumar

Thanks glad you liked it. Yeah wasm crypto is something very exciting, did you achieve any results here? I am also experimenting something in line :)

Collapse
 
funnymania profile image
funnymania

Sure, you can check the repo.

github.com/funnymania/wasm-rhymes-...

The rust-wasm module was around 6 times faster, however on a less sizable input than BTC, as it is cumbersome to work within javascript' s number limitations