An Abridged Cartoon Introduction To WebAssembly
smashingmagazine.com
An Abridged Cartoon Introduction To WebAssembly
1–10 of 107 posts
Re: An Abridged Cartoon Introduction To WebAssembly
#2Re: An Abridged Cartoon Introduction To WebAssembly
#3(Yes, I know, it depends. I'm just looking for a rough estimate.)
Re: An Abridged Cartoon Introduction To WebAssembly
#4Since JS is already quite fast nowadays, how much faster will WASM typically be? (Yes, I know, it depends. I'm just looking for a rough estimate.)
One big benefit will be being able to compile from an array of languages down to WebAssembly and maintain performance.
Re: An Abridged Cartoon Introduction To WebAssembly
#5Since JS is already quite fast nowadays, how much faster will WASM typically be? (Yes, I know, it depends. I'm just looking for a rough estimate.)
Some benchmarking has been talked about before [0], the upshot being C->WASM has a slowdown around 16-25ms. That's a hell of a lot faster than JS in a lot of places.
Unfortunately, as soon as you hook into the HTML APIs, like giving JS a result, you're back to JS speeds.
Re: An Abridged Cartoon Introduction To WebAssembly
#6Since JS is already quite fast nowadays, how much faster will WASM typically be? (Yes, I know, it depends. I'm just looking for a rough estimate.)
Re: An Abridged Cartoon Introduction To WebAssembly
#7Since JS is already quite fast nowadays, how much faster will WASM typically be? (Yes, I know, it depends. I'm just looking for a rough estimate.)
Re: An Abridged Cartoon Introduction To WebAssembly
#8Since JS is already quite fast nowadays, how much faster will WASM typically be? (Yes, I know, it depends. I'm just looking for a rough estimate.)
WASM should run at native speeds minus some special CPU instructions like vector stuff. So about as fast as highly optimized bytecode languages like Java, maybe 20% slower than optimized C.
Re: An Abridged Cartoon Introduction To WebAssembly
#9Re: An Abridged Cartoon Introduction To WebAssembly
#10Since JS is already quite fast nowadays, how much faster will WASM typically be? (Yes, I know, it depends. I'm just looking for a rough estimate.)
For cache aware code anywhere from 10-50x if trends hold from what you see in native code.