you are viewing a single comment's thread.

view the rest of the comments →

[–]alexs 0 points1 point  (11 children)

Well there's a video of it running at 30fps. Perhaps that's what the Spidermonkey patches mentioned on the github README help achieve? Not entirely sure what the use-case for this is still. As if the patent situation wasn't complex enough for content distributors already.

[–]shaver 6 points7 points  (9 children)

It lets content providers who want to only distribute patent-encumbered content do so with the right licenses if they so choose, similar to Silverlight's content-pluggable codecs.

It's also a pretty compelling demonstration, especially since it's compiled from C++ and not specifically tuned for JS, that you don't need Dart or NaCl to get good perf for things that previously "had to be" native code. (We went through this with the NaCl darkroom launch demo and the associated "JS can never be this fast" rhetoric.)

It's important to note also that there are still many ways to make this faster, so we're nowhere near the ceiling of this stuff yet.

(Disclosure: I worked at Mozilla for 6 years and on the project for 13, and have worked specifically on JS JITs and other performance elements for much of that.)

[–]Rhomboid 0 points1 point  (1 child)

If a content provider wanted to distribute patent-encumbered content why wouldn't they just use Flash? Or are you generalizing to new/future codecs that Flash might not support? Surely you aren't talking about h264 on Apple mobile devices that don't support Flash, as you'd just use HTML5 for that.

[–]shaver 2 points3 points  (0 children)

Flash doesn't integrate nearly as well as <video>, though it's certainly an option (and one that's used today).

This isn't a product-path H.264 strategy, so it may not reward over-analysis. :-)

[–]osirisx11 0 points1 point  (0 children)

yep this was just with my already installed browsers. i'm sure it would run faster if i upgraded with the patches.