Live data from Hacker News

Analyzing the Performance of WebAssembly vs. Native Code

ar5iv.labs.arxiv.org

1–10 of 59 posts

Re: Analyzing the Performance of WebAssembly vs. Native Code

#6
This is pretty good actually considering the low hanging optimizer optimizations left and that the alternative is JS which generally performs 2-10x slower.

I think vectorization support will narrow the aggregate difference here as a lot of SPEC benefits from auto vectorization if I recall correctly.

Re: Analyzing the Performance of WebAssembly vs. Native Code

#7

... in browsers. Which at best JIT compile. There are several WASM runtimes that AOT compile and have significantly better performance (e.g. ~5-10% slower). The title is highly misleading.

It’s not misleading to measure the performance of WebAssembly in a web browser.

Re: Analyzing the Performance of WebAssembly vs. Native Code

#8

... in browsers. Which at best JIT compile. There are several WASM runtimes that AOT compile and have significantly better performance (e.g. ~5-10% slower). The title is highly misleading.

Just means the browsers can catch up.

Initially slower but then faster after full compilation

Re: Analyzing the Performance of WebAssembly vs. Native Code

#9
post #3

45% slower to run everywhere from a single binary... I'll take that deal any day!

45% slower to run everywhere from a single binary... with less security holes, without undefined behavior, and trivial to completely sandbox.

Its definitely a good deal!

Post reply on HN