Performance comparision of C# and Java

A

Ashwin Kambli

Hi,
I am doing a study on the performance comparision of C# and Java. Links to
any articles on this topic will be greatly appreciated.

Thanking you,

Ashwin
 
T

Tim Anderson

Ashwin Kambli said:
Hi,
I am doing a study on the performance comparision of C# and Java. Links to
any articles on this topic will be greatly appreciated.

I spent a while playing around with a Swing vs winform example. C#
outperformed Java, but only when I cheated and used PInvoke to
GDI. Of course this is irrelevant for non-visual code such as web
apps.

For the record, using GDI instead of GDI+ for the critical part
of the code improved performance by 600%.

A lesson from this is perf comparisons are often very misleading.

Tim
 
R

Rod O.

Hi Ashwin,

Will you be posting your comparisons?

I am trying to decide between C# and Java for an dekstop application. I
was looking forward to C# but have become more and more disillusioned
with it... there are some language issues that I could suffer with but
the class library is poor; it seems to me that MS has taken the "Word
approach" with C#... get it out the door and fix issues later. I fear
that, like MFC, the current class library will become entrenched.

I think my decision will be between C#s easy access to COM/DLL/Win32
versus Java's much more mature class library. With the release of the
1.4.2 JDK the decision may be much less difficult. Sigh.

Cheers,

Rod O.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top