[Media] First look at Rust created WASM files vs preloaded JavaScript functions in Nyno Workflows

118 points EveYogaTech 16 comments
[Media] First look at Rust created WASM files vs preloaded JavaScript functions in Nyno Workflows

Thank you all again for your feedback regarding WASM vs .so files.

This is the first local test for showing preloaded WASM performance (created in Rust using https://github.com/flowagi-eu/rust-wasm-nyno-sdk) VS preloaded JS functions.

Both performing a prime number test using the same algorithm.

Rust wins (JS calling WASM is about 30% faster than writing it in JS directly).

Beyond simple prime number calculations, I am curious in what real world calculations and use cases Rust could truly make the most difference.

Also if you have any feedback on the rust-wasm-nyno plugin format, I can still update it.