News for hackers. Stuff that matters.
Re:First release of gngr web browser by deeviant on Friday December 19, 2014 @02:08PM (#8773881)
Java is a safer language?

Just having a Java interpretor installed on your system opens you up to untold security threats.

Honestly, it sounds a lot more like the majority of the software people on this project simply liked/knew Java, rather than made a informed choice of Java based on security considerations.

Not Java-bashing, it just the whole "C has pointers, pointers are not-safe, thus C is not safe, while Java has not pointers, and thus is safe."

Has somebody actually compiled statistics of the relative frequency of security threats in respect to language in which they were written.

Re:First release of gngr web browser by _delirium on Friday December 19, 2014 @02:57PM (#8774158)
> Just having a Java interpretor installed on your system opens you up to untold security threats.

That's not the case at all. A Java interpreter doesn't run with any kind of privileges, so it adds no added security threat above those that already exist when you are able to run code as a user. Having it installed is no more dangerous than having libboost or python installed on your system, if you have any kind of sane setup.

The part of Java with a bad security track record is the applet sandbox, which is supposed to make it safe to run arbitrary code in a browser. The sandbox has turned out to be pretty leaky. So I would not recommend relying on the applet sandbox to run arbitrary untrusted Java code from the internet. But for a local app it's a perfectly reasonable platform (vaguely in the same category as Microsoft's CLR, which is heavily JVM-inspired).

Re:First release of gngr web browser by azakai on Friday December 19, 2014 @02:58PM (#8774170)
Sure, the Java VM has seen many security exploits.

However, Java does avoid memory corruption errors which are sadly easy to create in C and C++. We see exploits of such things all the time. It does make sense to use a language like Java or Rust (or C# or JavaScript - basically, any modern sandboxed language) for that reason.

But yes, Java specifically has seen plenty of exploits, and that is a cause for concern.