4 ms·
Performance comparison of running a loop 10e7 times b/w Rust(WASM) vs. JS
- z3t4 9y agoSuch a function can easily be optimized by a smart programmer. Programming language will not matter in such cases. You want to compare using real world apps, eg no micro-benchmarks.
- rgabs 9y agoAgreed. I was just trying out communication between js and rust. Then i thought of writing a small loop comparison. And yes, i will surely try some real world example