Interesting insights into JVM vs C performance.

With naive code designs, Java gets close to C in execution times. 

pragmatism: Micro benchmark – C vs Java (nth Fibonacci number)

Whoa. Though Java didn’t beat C in this naive implemenation, it’s close enough. So, the myth about Java catching up with C does seem valid for long running programs which happen to hit some particular code repeatedly. What’s more interesting is Java does beat C if the optimizations aren’t turned on.

Published in: on January 11, 2010 at 6:22 pm  Leave a Comment  

The URI to TrackBack this entry is:

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: