Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agreed. And I still don't understand Mozilla's problem with NaCl. They argue that js is now nearly as fast as native. Well...even if that were true it ignores the fact that as you point out there is huge investment in legacy code that NaCl unlocks AND it ignores the fact that js makes it easy to copy what may be valuable IP.


Mozilla's problem with NaCl is that Mozilla believes in open access to the web for everyone, while NaCl at the moment is tied to particular hardware architectures. The two seem to be fundamentally incompatible.

If PNaCl ever happens, that might change the situation, maybe.

As far as legacy code, emscripten unlocks it as well. Not with the performance of NaCl (and unlikely to get there), but it has the benefit of running cross-browser right now and not forcing people onto particular hardware platforms.

And copying "valuable IP" out of an emscripten-compiled program is just as easy as copying it out of a binary, of course.


As for PNaCl, I think "LLVM IR is a compiler IR" sums it up nicely: http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/0437...


And for some things, "nearly as fast" isn't nearly fast enough, and in some cases (eg. media processing) you still need the very tight control over the CPU that C gives you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: