On 10/10/2013 02:36, Zack Weinberg wrote:
In that vein, I think we should take a hard look at the image decoders. Not only is that a significant chunk of attack surface, it is a place where it's hard to innovate; image format after image format has died on the vine because it wasn't *enough* of an improvement to justify the additional glob of compiled code. Web-deliverable JS image decoders could open that up.
Considering the performance profile of some of our low-end platforms (most Firefox OS devices, low-end Android devices too) I don't think that would be a good idea right now. Image decoding speed has a very measurable impact there during page/application startup. The difference between vectorized code-paths (NEON on ARM) and plain C is quite significant so moving it to JS (even asm.js-enabled JS) would probably lead to pretty bad performance regressions.
Gabriele _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform