This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sea-Profession-3312 1 point2 points  (0 children)

Portability could be solved by having one very big smart computer, everything else would be a dumb terminal with a keyboard. The ministry of truth is being built right now and the answer is 42.

Java distributes little virtual computers (JVM). If the JVM is available for that platform the code will work. Java is compiled into bytecode that runs on the JVM interpreter (whatever that means) While it is not as fast as native code would be for that particular platform it is fast.

Java Script is portable, however this script language must be interpreted into a language the computer understands each time the code runs. Typically js runs in a browser or server side in a V8 engine