View Single Post
  #102 (permalink)  
Old 02-25-2008, 03:04 AM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 466
Last Blog:
Just over the next hil...
Credits: 82
Rep Power: 10
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default

Quote:
Originally Posted by BackSlash View Post
I love java because of its portability, but it lacks in performance
Not sure how you can make this claim and support C#. Part of the .Net EULA is that you aren't allowed to benchmark it. As a result we have no meaningful studies into it's performance. .Net programs start quicker than Java but that is not the same as performance*. In essence, don't trust everything people tell you. MS have intentionally done this because they know people will look at the start up speed and assume, with no real benchmarks to go on, it means C# is more efficient.

Now Java does allow benchmarking and out of the VM/JIT language implementations out there that have been benchmarked it is comfortably the most performant. Java actually does better than a lot of native compilers (performs at about par with D). If you want performance you'd use C or C++ in any case. In the vast majority of cases it isn't performance that is the issue though.

*.Net starts quicker mainly because it's security checks aren't as strong as Java's. The main use of Java right now is in the server room and security is vital.
Reply With Quote