Re:Analyzing the Performance of WebAssembly vs. Native Code
by astafrig on Tuesday November 04, 2025 @06:43PM
(#45817228)
It’s not misleading to measure the performance of WebAssembly in a web browser.
Re:Analyzing the Performance of WebAssembly vs. Native Code
by bjconlan on Tuesday November 04, 2025 @08:13PM
(#45817894)
Yeah, but it's specifically testing things that implement against a posix API (because generally that's what "native" apis do (omiting libc and other os specific foundation libraries that are pulled in at runtime or otherwise) I would suspect that if the applications that linked against some wasi like runtime it might be a better metric (native wasi as a lib/vs a was runtime that also links) mind you that still wouldn't help the browser runtime... But would be a better metric for wasm (to native) performance comaparison.
But as already mentioned we have gone through this all before. Maybe we'll see wasm bytecodes pushed through silicon like we did the Jvm... Although perhaps this time it might stick or move up into server hardware (which might have happened, but I only recall embedded devices supporting hardware level Jvm bytecodes).
Re:Analyzing the Performance of WebAssembly vs. Native Code
by wffurr on Tuesday November 04, 2025 @10:30PM
(#45818673)
WebAssembly is neither web nor assembly. It’s a low level byte code format most similar to LLVM IR.
Re:Analyzing the Performance of WebAssembly vs. Native Code
by pyrolistical on Tuesday November 04, 2025 @06:45PM
(#45817252)
Just means the browsers can catch up.
Initially slower but then faster after full compilation
Re:Analyzing the Performance of WebAssembly vs. Native Code
by padenot on Tuesday November 04, 2025 @07:13PM
(#45817473)
Browsers have been doing (sometimes tiered) AOT compilation since wasm inception.
Re:Analyzing the Performance of WebAssembly vs. Native Code
by chalcolithic on Tuesday November 04, 2025 @07:16PM
(#45817502)
could you please name them?
Re:Analyzing the Performance of WebAssembly vs. Native Code
by wffurr on Tuesday November 04, 2025 @10:31PM
(#45818681)
WAMR (WebAssembly Micro Runtime), wasm2c in WABT (WebAssembly Binary Toolkit), Wasmtime.
Re:Analyzing the Performance of WebAssembly vs. Native Code
by chalcolithic on Thursday November 06, 2025 @10:29AM
(#45836302)
thank you very much!
The title is highly misleading.