Java vs C#

I’ve noticed that most of the people on this board are using C# with OpenGl and not Java. I am using Java as that is what has been taught to me on my degree course. Is there any major difference in performance between OpenGL for Java and C#? I’m just curious…

Music_Man :slight_smile:

Hi !

If you are using Java 1.4 or later the speed should be about the same, using an ordinary JNI interface is a little slower then C#, but if you compare for example gl4java with an ordinary C# opengl interface there is not any noticable difference in performance.

It is a little easier though to interface to dll files with C# then with Java, but that’s understandable as the main idea with Java is to make it portable.