3 ms·
The speed differences between Python, JS, and C++/Rust are well documented. https://www.secondstate.io/articles/performance-rust-wasm/ https://www.secondstate
by juntao 6y ago
The speed differences between Python, JS, and C++/Rust are well documented. https://www.secondstate.io/articles/performance-rust-wasm/ https://www.secondstate.io/articles/performance-rust-wasm/
But, of course, they are not universal and tend to have a large effect in areas where JS is rarely used — a selection bias one might say.
- carlopi 6y agoDo you have any single example where Rust+WebAssembly are 100x (or even 10x) faster than JavaScript? I did got to the page you linked, but also there is no actual "proof".
- juntao 6y agoWe took that experts at IBM and MIT would be honest about their performance findings. :) But, it appears that actual performance numbers are of great interest to the community. We will create repeatable benchmarks and open source them. Stay tuned!
- athriren 6y agoFrom this link: “A study done by IBM found that Rust and WebAssembly could be 15x (15,000%) faster than compiled languages, such as Scala, which is traditionally considerred a high performance language.” This calculation is off by an order of magnitude. 15 * 100 = 1500, so a 15x increase is not 15000%.
- juntao 6y agoThanks, updated.