3 ms·
Both Java and C# can be compiled to native binaries - there's nothing stopping that. The standard runtimes for them just don't do that. Java can be compiled vi
by viraptor 16y ago
Both Java and C# can be compiled to native binaries - there's nothing stopping that. The standard runtimes for them just don't do that.
Java can be compiled via gcj ("It [GCJ] can compile Java source code to Java bytecode (class files) or directly to native machine code, and Java bytecode to native machine code." - http://gcc.gnu.org/java/ http://gcc.gnu.org/java/). C# can be compiled down to native code using various tools. MonoTouch uses that to run C# on iPhones for example.