On 04/09/15 16:24, 'James Bankoski' via WebM Discussion wrote:
> Maybe someday it will also be possible to do so with the optimized
> encoder that'll ship in browsers
Sure, it's hard to beat native code. But very promising things happen in
browser world around WebAssembly and SIMD.js. Hope that will help to
increase performance in case of JavaScript encoders too.
The great thing with asm.js is that it works in every engine so you
don't need to wait for native implementation. The only thing in question
is speed. Though almost all popular browsers have special optimizations
targetting such code now.
In other words, it's good to have both but optimized JS engine might be
even better because you can add any video codec you want, without
waiting for vendor. (Though I agree, this sounds a bit utopic.)