Talk:Comparison of C Sharp and Java: Difference between revisions

Content deleted Content added
Tbjablin (talk | contribs)
No edit summary
Tbjablin (talk | contribs)
Line 78:
C# is compiled to MSIL which is compiled into native machine code; Java is compiled into .class files which are interpreted by the JVM. The article says they both run on a virtual machine, but C# does not. I ran a series of benchmarks which I posted [http://mathcs.blogspot.com/2005/04/java-vs-net.html here] and am quite sure that C# is appreciably faster than Java.
 
Both C# and Java areuse run-timeJIT compiledcompilation. Java can run in interpretted mode and even has a flag for it
java -Xint, but java -Xmixed (interpretted mode mixed with compilation) is the default. You might want to try rerunning your benchmark with java -server -Xincgc -Xmx512M and Java 1.5 [[User:Tbjablin|Tbjablin]] 01:25, 24 Apr 2005 (UTC)