Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Why Java can be faster than C++ (Score 1) 157

In two words, dynamic compilation and inlining. You can do a lot more with dynamic information and dynamic performance profile. Being able to inline 50-100 nested calls in a hot spot may give you something the most sophisticated static compiler will never dream of.
(F.e. you can eliminate a virtual method call just because you dynamically know what method you are actually calling; you can inline methods from system and third party classes, etc.). Just don't forget to add -server to your java run.

Slashdot Top Deals

"The chain which can be yanked is not the eternal chain." -- G. Fitch

Working...