Search code examples
javagoogle-chromegoogle-nativeclient

About browser applications: Native code vs Applets with certificates


I've been reading about the new native client support for chrome and I was wondering what are the advantages/disavantages compared to writing Java applet with a certificate?

Quick note: A java applet with a security certificate can execute code on the user machine and "by-pass" the Java Security Manager.

Thanks,

-hbt


Solution

  • Native client can be compared to Java applet without a certificate. The difference is speed (native client is faster) and portability (you need several versions of your code (x86, x64, arm)). The rest is difference between java applet with and without a certificate.