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.

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

The URI to TrackBack this entry is: https://2thyme.wordpress.com/2010/01/11/interesting-insights-into-jvm-vs-c-performance/trackback/

RSS feed for comments on this post.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: