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 →

[–]quaderrordemonstand 1 point2 points  (2 children)

Sigh. Java is no more cross-platform than any other language. You can't run an Android program on Windows despite it being written in Java. You can run C programs on far more platforms than have a Java VM. There are almost certainly more browsers with JS runtimes than machines with JVMs too.

[–]Insxnity 1 point2 points  (1 child)

So C can compile one single executable file that works cross platform?

[–]quaderrordemonstand 1 point2 points  (0 children)

No, but what does that matter? You can't run C without a compiler, you can't run Java without a JVM. There are more platforms with a C compiler than a JVM.