Re:Google launches Portable Native Client
by egeozcan on Tuesday November 12, 2013 @01:21PM
(#6719647)
One day, I will be able to compile my golang apps to work on browsers without losing considerable performance, multiple threads and concurrency. That day, I'll be very happy.
[ Parent
| on HN ]
Re:Google launches Portable Native Client
by eliben on Tuesday November 12, 2013 @01:26PM
(#6719696)
You'll be interested in this project, then: http://blog.awilkins.id.au/2012/12/go-in-browser-llgo-does-p...
It's important to emphasize that PNaCl is a platform. We currently provide front-ends for C and C++, but nothing prevents you from writing your own, for your own language (or an existing one). As long as you emit PNaCl bitcode, Chrome will run it for you. The PNaCl bitcode has a definition here - https://developers.google.com/native-client/dev/reference/pn... - and we're working on making it more precise.
Re:Google launches Portable Native Client
by Touche on Tuesday November 12, 2013 @02:31PM
(#6720272)
Working on a PNaCl spec or did I miss it and that was released too?
Re:Google launches Portable Native Client
by eliben on Tuesday November 12, 2013 @03:38PM
(#6720836)
Can you clarify what you mean by "spec"? The bitcode ABI document I pointed to is the spec of the IR used by PNaCl. The official documentation covers the Pepper APIs which are PNaCl's interface with the browser and DOM.
Re:Google launches Portable Native Client
by Touche on Tuesday November 12, 2013 @03:52PM
(#6720948)
A document with which someone could create an alternative implementation; like another browser for example. Do I take this to mean that there isn't one?
Re:Google launches Portable Native Client
by jryans on Wednesday November 13, 2013 @03:54PM
(#6728418)
There is no real "spec" of the Pepper APIs, just API docs. While those might be of high quality, it still depends on many implementation details, so it seems like it would be challenging for another browser to duplicate.
Re:Google launches Portable Native Client
by Touche on Tuesday November 12, 2013 @09:59PM
(#6723049)
Bueller...
Re:Google launches Portable Native Client
by pjmlp on Wednesday November 13, 2013 @01:37AM
(#6723748)
> One day, I will be able to compile my golang apps to work on browsers without losing considerable performance, multiple threads and concurrency. That day, I'll be very happy.
One day, the browser will be used again just for documents. That day, I'll be very happy.
Re:Google launches Portable Native Client
by _random_ on Tuesday November 12, 2013 @02:51PM
(#6720456)
Native in-browser CLR, JVM and LLVM support would be the best world to live.
Re:Google launches Portable Native Client
by stonemetal on Tuesday November 12, 2013 @04:11PM
(#6721137)
I don't know that sounds like a very large surface to secure.