C# versus Java versus C performance

January 24, 2006 at 9:55 am | Posted in GIMP, Programming | Leave a comment

Always a nice topic: my language is faster than your language. In the past we have seen C versus C++, Java versus C++, C# versus Java, Lisp versus C. And probably every other performance comparison you can possibly think of.

And now comes my contribution to his topic. I have downloaded some C code to generate so called swirlies (see one my previous posts). This is a very CPU intensive task. For my GIMP# plug-in I’m going to translate this code to C# and do some measurements. It’s also very easy to translate this to Java. The results will be up here in a few days, so we can settle once and for all which is the best programming language😉 Well, at least performance wise.

Btw, in the past I’ve done similar measurements on small pieces of code and never noticed any substantial differences between C# and Java. Sometimes Java was 10 % faster, sometimes C#. Nothing to get excited about.

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

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

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: