Linked by Thom Holwerda on Wed 10th Oct 2012 23:47 UTC, submitted by MOS6510
Java "Java is a programming language that allows developers to write once and deploy everywhere - from high-end gaming desktops to smartphones. Its OS-agnostic and widespread nature is one of its strongest selling points, but one area where it can fall flat is performance. Generally, Java applications are not going to perform as well as native applications written for a specific OS. However, thanks to Project Sumatra that performance gap may soon become less of an issue."
Permalink for comment 538260
To read all comments associated with this story, please click here.
RE: Security
by moondevil on Thu 11th Oct 2012 06:01 UTC in reply to "Security"
moondevil
Member since:
2005-07-08

Is it even possible to run Java securely on a desktop these days, especially as a browser plugin? Mind you, I'm not trolling here... I'm genuinely asking, based on all the zero-day Java attacks I've been reading about lately.


As secure as any C or C++ application.

Press always fails to mention that the Java security exploits are not in the language, rather in the native code that compromisses the virtual machine, in case a VM is used at all.

When a VM is used, then the exploit is done via the data the methods implemented in C/C++ expect, or by trying to find out bytecode sequences that the VM's verifier assumes are safe but are not.

Even with VM exploits it depends on which VM you are using, there are many more out there, besides Oracle's.

Reply Parent Score: 2