http://en.wikipedia.org/wiki/ActiveX - 1996 is knocking… yes, I know - it's very, very different this time, but still can't help remembering the horrors of ActiveX :)
PS. From Wikipedia article: In principle it [ActiveX] is not dependent on Microsoft Windows, but in practice, most ActiveX controls require either Microsoft Windows or a Windows emulator
PPS. I'm not really trying to compare them, just pointing out that obsessive idea to run Photoshop in browser is almost as old as browser and photoshop themselves. And so is the idea for a grand platform that will let us "write once, run everywhere". Uncountable attempts were made, yet somehow they all fall short of expectations. Is the idea itself flawed? Perhaps we have different operating systems for a reason?..
This seems like more of a ChromeOS move to me, so that you can run native code on Atom and X86 machines. The knock on ChromeOS is always that it's "just a browser". I seriously doubt anyone is going to write their Etsy storefront in NaCl. The benefit here, of course, is that if someone does write the next Photoshop for ChromeOS machines, it should also run fine in OS X, Windows and Linux. Seems like a win for portability to me.
I doubt Google wants to keep this Chrome-only. Just like SPDY, there isn't initially support on all platforms/browsers so you have to have a fallback. But if it catches on then you will see broader support over time.
The big difference, of course, is that you can be on any operating system with Chrome/Chromium. It's not ideal but that is huge. The "lockin" is no longer at the operating system.
PNaCl has been in development for a while, I'm having trouble understanding just what is being announced here. Is PNaCl now enabled by default in Chrome?
The news is that PNaCl has been enabled on the web in the latest release of chrome. Previously it shipped but ran only on the chrome web store and whitelisted sites like plus.google.com.
I think so. I just updated to Chrome 31 and it brought up a UAC in windows, which probably means that it was installing the PNaCl runtime since it usually doesn't require a UAC.
It was NaCL which was previously available. This one is Portable NaCL which presumably can run the code built from the same intermediate machine code on various platforms (ARM, x86/64, etc). The immediate winner here is which runs on ARM and x64.
What would be really great to see is someone putting a HTML client/DOM implementation/etc. inside a PNaCL application. This is after all how things ought to be: ideally you implement your DSL/document viewer inside your general-purpose runtime, instead of kludging your document-format specification up into an application runtime. None of the big browser vendors (including Mozilla and Google itself) is going to welcome such an idea though, as it threatens their de facto control over Web standards.
I really really hope that this+pepper.js will allow you to deploy Ruby/Python/Go as client-side languages for the Web. Does anyone know how (P)NaCl interfaces with the DOM?
Very good news! A lot of developers don't like JavaScript and HTML. Google started to listen. I really hope the rest of big players will follow the suite.
Be careful what you wish for because it might come true. A lot of people don't like the Open Web and are clamoring for something obfuscated. Longer term is lose-lose for everyone.
The demos are cool, but are there any among them that can't be done in JS? I know I've seen Voronoi polys in JS that were way less janky than the one in the PNaCL demo.
It says 'LLVM style intermediate code'; why not actual LLVM intermediate code? What would be the reason for an alternative? If it would be actual LLVM code it would be easier to compile from programming languages and to different backends, right?
For anyone who works on Chrome: does this mean that Chrome won't move to support asm.js? I tried searching the bug tracker and discussion group and couldn't find anything.
In general I'm really happy that we're getting faster (no-gc) runtimes, but I think I favor asm.js's approach due to its backwards compatibility (though I admit I am not aware of the nuances of each implementation).
Chrome has taken the approach of working on improving their V8 engine to (hopefully) achieve similar performance to Firefox's specialized asm.js AOT codepath but without any special handling of the "use asm" directive (which gives Firefox guarantees about variable types & stuff like that). See https://news.ycombinator.com/item?id=6553794 for a discussion on the subject.
IMO NaCl is much more backwards compatible, letting you recompile old code-bases for the web with minimal changes. The javascript approach (even with the speed gains of asm.js) does not have threads/native instructions/etc.
I want chrome to support asm.js, and firefox to support NaCl. Winning all around.
> though I admit I am not aware of the nuances of each implementation
Perhaps a neutral discussion page is needed... I'll see about making one.
In a way NaCl offers better backwards compatibility as the code can be compiled to both NaCl and Javascript simultaneously. asm.js javascript offers subpar performance on non asm.js platforms as it is optimised to a specific subset that would have no benefit on those. Also long run asm.js sounds like a terrible format when you consider the extra overhead of massive javascript files that could be concisely encoded like NaCl.
One thing I am concerned about is, since PNaCl is essentially yet another platform, how Google (or anyone) is going to manage the host of supporting tools required. Tools like dependency management, libraries, process control etc.
By the way, Google has already proven their "platform-creation" skills with Android.
I am actually looking at saying good bye to browser (html / css / js and all the madness) and hello to apps that connect to dropbox or s3 or some such cheep server.
[+] [-] azov|12 years ago|reply
PS. From Wikipedia article: In principle it [ActiveX] is not dependent on Microsoft Windows, but in practice, most ActiveX controls require either Microsoft Windows or a Windows emulator
PPS. I'm not really trying to compare them, just pointing out that obsessive idea to run Photoshop in browser is almost as old as browser and photoshop themselves. And so is the idea for a grand platform that will let us "write once, run everywhere". Uncountable attempts were made, yet somehow they all fall short of expectations. Is the idea itself flawed? Perhaps we have different operating systems for a reason?..
[+] [-] RyanZAG|12 years ago|reply
Can't wait to log into a bank that demands I installed Chrome to use their new 'security' or some web apps that won't run in anything but Chrome.
[+] [-] pkulak|12 years ago|reply
[+] [-] scottmp10|12 years ago|reply
[+] [-] chully|12 years ago|reply
[+] [-] spot|12 years ago|reply
[+] [-] melling|12 years ago|reply
[+] [-] cia_plant|12 years ago|reply
I also hadn't seen pepper.js before, is that new?
[+] [-] azakai|12 years ago|reply
Also pepper.js is a fairly recent thing, yes.
[+] [-] mistercow|12 years ago|reply
I just updated, and in chrome://flags, the "Enable Portable Native Client" option has changed to "Disable Portable Native Client".
So yes, apparently.
[+] [-] devrelm|12 years ago|reply
I think so. I just updated to Chrome 31 and it brought up a UAC in windows, which probably means that it was installing the PNaCl runtime since it usually doesn't require a UAC.
[+] [-] amaks|12 years ago|reply
[+] [-] bsimpson|12 years ago|reply
[+] [-] leoc|12 years ago|reply
[+] [-] pedrocr|12 years ago|reply
[+] [-] cliffbean|12 years ago|reply
http://mozakai.blogspot.com/2013/05/lua-in-javascript-runnin...
[+] [-] eliben|12 years ago|reply
[+] [-] _random_|12 years ago|reply
[+] [-] cgh|12 years ago|reply
[+] [-] oblio|12 years ago|reply
[+] [-] thrownaway2424|12 years ago|reply
[+] [-] leoc|12 years ago|reply
[+] [-] spot|12 years ago|reply
js has plenty of 2d physics sims but i have yet to see a decent 3d one like this.
[+] [-] tluyben2|12 years ago|reply
[+] [-] mccr8|12 years ago|reply
[+] [-] unknown|12 years ago|reply
[deleted]
[+] [-] kenferry|12 years ago|reply
https://groups.google.com/forum/#!msg/llvm-dev/lk6dZzwW0ls/J...
[+] [-] lucian1900|12 years ago|reply
[+] [-] peterhunt|12 years ago|reply
In general I'm really happy that we're getting faster (no-gc) runtimes, but I think I favor asm.js's approach due to its backwards compatibility (though I admit I am not aware of the nuances of each implementation).
[+] [-] elisee|12 years ago|reply
[+] [-] _prometheus|12 years ago|reply
IMO NaCl is much more backwards compatible, letting you recompile old code-bases for the web with minimal changes. The javascript approach (even with the speed gains of asm.js) does not have threads/native instructions/etc.
I want chrome to support asm.js, and firefox to support NaCl. Winning all around.
> though I admit I am not aware of the nuances of each implementation
Perhaps a neutral discussion page is needed... I'll see about making one.
[+] [-] asdfaoeu|12 years ago|reply
[+] [-] sry_not4sale|12 years ago|reply
[+] [-] misuba|12 years ago|reply
[+] [-] Fr0styMatt|12 years ago|reply
[+] [-] BitMastro|12 years ago|reply
[+] [-] willvarfar|12 years ago|reply
[+] [-] icefox|12 years ago|reply
[+] [-] pritambaral|12 years ago|reply
By the way, Google has already proven their "platform-creation" skills with Android.
[+] [-] unknown|12 years ago|reply
[deleted]
[+] [-] smegel|12 years ago|reply
[+] [-] ThinkEzy|12 years ago|reply
[+] [-] augustl|12 years ago|reply
Honest question, I'm a noob at compilers :)
[+] [-] unknown|12 years ago|reply
[deleted]
[+] [-] cek|12 years ago|reply
[+] [-] djvu9|12 years ago|reply
[+] [-] general_failure|12 years ago|reply
[+] [-] roarroar|12 years ago|reply
[deleted]
[+] [-] ThinkEzy|12 years ago|reply
[deleted]