Quote:
Originally Posted by BackSlash
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.