|
|
|
|
|
by azakai
4841 days ago
|
|
> At least something like PNaCL has a MUCH smaller surface area than something like the full HTML/DOM/CSS/JS stack PNaCl, to interact with the world, uses Pepper. Pepper is a huge surface area, comparable with the web stack in size. |
|
It's neither comparable in size or complexity to the entire browser stack. CSS, HTML, DOM, and JavaScript are so large that they that require the full weight of large-scale corporations to provide a working implementation that's even remotely compatible with the web as its deployed today.
Mozilla received a leg-up in terms of having the majority of the code donated by a large corporation, and by having the web be compatible with that existing technology stack. I can see how I could spend $1M and have a team implement the Pepper API in 6-12 months, and that includes an independent implementation of NaCL/PNaCL sandboxing (if we leveraged google's development tools).
I can't even begin to imagine trying to create an independent browser stack for any reasonable amount of money.
[edit] This is the current Pepper API documentation:
https://developers.google.com/native-client/peppercpp/inheri...
It's tiny.