Hacker News new | ask | show | jobs
by juntao 2175 days ago
The speed differences between Python, JS, and C++/Rust are well documented. 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.

2 comments

Do 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".

We 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!
From 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%.

Thanks, updated.