views:

134

answers:

3

Which of these languages is better for opengl game with primary platform linux? I would like if you compared them in performance and libraries support.

+5  A: 

C++ is a low-level, highly flexible and powerful language. It compiles native code (it's fast) and has a large array of helpful libraries. I would recommend it for any OpenGL project. You may also look into other c-family languages, that share many of the same benefits.

(I sound like an ad)

Alexander Rafferty
Yes, i know that c++ is faster, but c# have nicer syntax. C# has GC, which can make developent easier, but app slower. Is there big performance differences in these two languages?
Miro
Last I heard, the vast majority of games were written in C++. There is a price to pay for nice syntax. :)
dandan78
A: 

Library support is about the same, all of the 3d rendering libraries I can think of have .net bindings. If you want lower level libraries(openGL, openAL etc.) OpenTk has bindings for just about everything you need. A quick look at the programming language shootout looks like mono is 1/2 the speed of G++ I would be really surprised if that held in the general case though.

stonemetal