News for hackers. Stuff that matters.
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by batgaijin on Friday October 19, 2012 @09:17AM (#4673371)
Can someone enlighten me about the Pepper API? Could I run a server with it? What would sort of limits does the network connection have? How many requests per second could it handle? How many simultaneous connections? What about bandwidth? etc. etc.
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by majke on Friday October 19, 2012 @09:32AM (#4673421)
Pepper is a new Plugin API for browsers proposed by Chrome: https://code.google.com/p/ppapi/

Plugin API is the magic responsible for Java or Flash in your browser. A plugin once installed on your PC may run in a number of browsers, as all use the same API - currently it is NPAPI.

NPAPI (Netscape Plugin API) is very old and Chrome with Pepper wants replace it.

Mozilla doesn't like Pepper, so at least for now Pepper is a Chrome-specific thing: https://wiki.mozilla.org/NPAPI:Pepper

Re:Google Chrome SVP says Portable NaCl will ship "in six we... by mccr8 on Friday October 19, 2012 @10:24AM (#4673626)
"Mozilla doesn't like Pepper" is a bit of an unfair characterization. A better description would be "only Google likes Pepper", because as far as I am aware Microsoft, Apple and Opera have not expressed any interest in implementing Pepper either. You just see more about Mozilla's thoughts on Pepper because it is a more open organization.
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by majke on Friday October 19, 2012 @10:27AM (#4673645)
True, and that's why I mentioned only Mozilla - I have no clue what others are saying. Any references to position of Opera, Microsoft and Apple?
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by othermaciej on Friday October 19, 2012 @12:26PM (#4674192)
Apple very rarely takes positions on technologies that we don't currently support. Here is a past comment conveying a personal opinion from a WebKit engineer though: https://mail.mozilla.org/pipermail/plugin-futures/2010-April...
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by pcwalton on Friday October 19, 2012 @12:20PM (#4674169)
Here's a comment from Maciej (Apple): http://news.ycombinator.com/item?id=2057611
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by vetinari on Friday October 19, 2012 @01:00PM (#4674380)
Microsoft never used NSAPI (API that Mozilla, Apple and Opera use) either. They always used ActiveX. After all, the 'N' in 'NSAPI' means 'Netscape'.
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by ephemient on Friday October 19, 2012 @01:37PM (#4674543)
Not true. Internet Explorer used to work with both NSAPI and ActiveX plugins, until they pulled support for the former.

"""Netscape-style plug-ins are supported in Internet Explorer 5.5 Service Pack 1 (SP1) and earlier, but are not supported in Internet Explorer 5.5 Service Pack 2 (SP2) and Internet Explorer 6.""" -- http://support.microsoft.com/kb/306790

Re:Google Chrome SVP says Portable NaCl will ship "in six we... by vetinari on Friday October 19, 2012 @03:00PM (#4674955)
Thanks, I stand corrected.

I just remember, that there were two versions of Flash - ActiveX for IE and NPAPI for all the others.

Re:Google Chrome SVP says Portable NaCl will ship "in six we... by planckscnst on Friday October 19, 2012 @01:40PM (#4674567)
Up until IE6, they did; after that, there was an ActiveX control that could load NPAPI plugins.
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by cmccabe on Saturday October 20, 2012 @02:24AM (#4676493)
Apple wants people to write iOS applications. Microsoft wants people to write Windows 8 applications.

It's possible that Mozilla will come around, if Chrome gives them a big enough kick in the pants. Then again, it's equally possible that PNaCL / PPAPI will remain simply an app distribution mechanism for ChromeOS.

Re:Google Chrome SVP says Portable NaCl will ship "in six we... by batgaijin on Friday October 19, 2012 @10:25AM (#4673635)
But what are the limits? Are there any? What system API does the implementation map to? Epoll on Linux automatically, kqueue on Mac OS X, and whatever on Windows?
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by zurn on Friday October 19, 2012 @11:41AM (#4673996)
There aren't probably any PNaCl specific aspects to these. This is untrusted code so naturally there will be limits.

You could start at http://src.chromium.org/viewvc/chrome/trunk/src/ppapi/api/

Re:Google Chrome SVP says Portable NaCl will ship "in six we... by Tomdarkness on Friday October 19, 2012 @09:36AM (#4673430)
Do you know why Mozilla does not seem interested in Pepper?
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by apetrovic on Friday October 19, 2012 @10:35AM (#4673678)
Both Google and Mozilla wants to obsolete your OS and move general computing in the browser; Google is more pragmatic and sees the need for native code apps on the client side (like games, image processing, etc) so they wants to transform the browser into distribution platform for such apps. Mozilla crew, on the other hand, holds high moral ground and lives in imaginary world where everything can be made with Web technologies, and if something isn't possible right now, we should just wait couple of processor iterations and couple of Web standard iterations.

If companies are people, Google would be someone like Linus, and Mozilla would hang with RMS.

Re:Google Chrome SVP says Portable NaCl will ship "in six we... by mccr8 on Friday October 19, 2012 @10:38AM (#4673685)
Brendan Eich posted some thoughts on Pepper recently in this comment and many followups:

http://news.ycombinator.com/item?id=4632410

Re:Google Chrome SVP says Portable NaCl will ship "in six we... by pcwalton on Friday October 19, 2012 @12:51PM (#4674323)
I don't speak for Mozilla, but the position of the non-Google browser vendors in plugin-futures made sense to me: it's simpler to just call the Web APIs from native code. Less code, smaller surface area, fewer APIs for folks to learn.
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by ryaf on Friday October 19, 2012 @09:41AM (#4673455)
Re:Google Chrome SVP says Portable NaCl will ship "in six we... by wmf on Friday October 19, 2012 @11:52AM (#4674061)
NaCl and JavaScript have the same sandbox rules because they're both foreign code. Extensions have access to some APIs that normal code doesn't, but again those APIs are the same between NaCl and JS.