Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Kill it with FIRE (Score 1) 150

it's significantly easier to parse javascript source, determine its validity and generate machine code from it than it is just to verify java bytecode.

for example: prove that the stack looks the same for every different way a basic block can be entered.

Huh? Did you ever take a compiler class? Verifying java bytecode is really not that hard...

Comment Re:What happened to Java? (Score 2) 265

The problem is that security cost usability.

Completely disable the ability of Java to read/write files on the local filesystem and it'd be a lot more secure for example, but then it'd be more useful as well.

This problem has already been solved, and solved mostly well. It is possible to specify exactly where a piece of java code may access files, and enforce it.

The problem is that some bugs in the JVM make it possible to bypass these checks, and then p.ex. access files that should be impossible to access.

Comment Re:inequality (Score 2) 1063

Actually...
    - Healthy food is significantly more expensive - and poor people usually have not enough money for anything
    - Exercise takes time you probably don't have when working two to three jobs (while still being poor).

I do not mean to say that poor people bear no responsibility for their health. Still, reality is more complicated
than "it's all their own damn fault".

Comment Re:Oh Java... (Score 2) 193

What does "online java application" mean? The app opens a network connection and communicates with some other host?

Such an app would not become more safe if it were written in, say, C++ or C# or most other languages.

The danger about java is in the browser plugin, because it downloads and runs untrusted byte code. This is about as unsafe as using an ordinary browser with java script enabled - which also downloads and runs untrusted code.

Slashdot Top Deals

"Engineering without management is art." -- Jeff Johnson

Working...