Re:Bringing Asm.js to Chakra and Microsoft Edge
by flohofwoe on Thursday May 07, 2015 @03:29PM
(#9507643)
Sure, but under the hood both the HTML5 APIs and Pepper APIs call into the same code, at least for WebGL, the performance behaviour on Chrome between WebGL and Pepper's GL wrapper is basically identical, and most other exposed API features are so similar to their HTML5 counterparts that it is almost certain that there's the same code underneath.
Re:Bringing Asm.js to Chakra and Microsoft Edge
by TazeTSchnitzel on Thursday May 07, 2015 @03:31PM
(#9507656)
> Sure, but under the hood both the HTML5 APIs and Pepper APIs call into the same code
It's still wasted effort, though. Maybe they share some code, but Pepper is an unnecessary extra API. One that's non-standard and results in vendor lock-in.
Re:Bringing Asm.js to Chakra and Microsoft Edge
by dman on Thursday May 07, 2015 @04:21PM
(#9507998)
Do you think Google could be persuaded to contribute PNaCL as an open standard?
Re:Bringing Asm.js to Chakra and Microsoft Edge
by pcwalton on Thursday May 07, 2015 @04:34PM
(#9508100)
There were beginnings of talks to get cross-vendor consensus on Pepper (which would be a prerequisite to any standardization attempt of PNaCl) in 2010: https://mail.mozilla.org/pipermail/plugin-futures/2010-April...
The general consensus among non-Google browser vendors was that just using the existing browser APIs was a more desirable approach than Pepper. Since then, Pepper has remained a Chrome-specific technology.
Re:Bringing Asm.js to Chakra and Microsoft Edge
by cpeterso on Thursday May 07, 2015 @06:23PM
(#9508766)
Could Google add NaCl support to Firefox with an add-on?
Re:Bringing Asm.js to Chakra and Microsoft Edge
by TazeTSchnitzel on Thursday May 07, 2015 @06:26PM
(#9508783)
They could, but why would they?
To help developers?
Re:Bringing Asm.js to Chakra and Microsoft Edge
by dragonwriter on Thursday May 07, 2015 @04:31PM
(#9508075)
Judging from their FAQ [0] on it, it doesn't seem like they are generally opposed to the idea, just see it as premature at this time.
Re:Bringing Asm.js to Chakra and Microsoft Edge
by Sephr on Thursday May 07, 2015 @05:16PM
(#9508354)
Pepper is not proprietary, it's completely open source.
Re:Bringing Asm.js to Chakra and Microsoft Edge
by TazeTSchnitzel on Thursday May 07, 2015 @08:27PM
(#9509328)
That doesn't make it not proprietary! It's open-source, sure, but it's not something easy for other browser vendors to implement and only has a single implementation.
Also, both are based on single-vendor, single-implementation technology. NaCl used actual native code, so if you're not using x86-64 or ARM, too bad! And PNaCl uses LLVM, so there's only one implementation.
Compare this to asm.js. It's a strict subset of ECMAScript/JavaScript, which has several high-quality implementations, and is portable across platforms. It uses the existing standard web APIs, which also have several high-quality implementations.