Jump to content
  • Advertisement
Sign in to follow this  
LizardGamer

Java vs C# (Mono)

This topic is 2525 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.


Recommended Posts

What would you find the best for Cross-platform game dev?

In what ways would you find one of these good?

What is your opinion on these 2 languages?

Share this post


Link to post
Share on other sites
Advertisement

What would you find the best for Cross-platform game dev?

In what ways would you find one of these good?

What is your opinion on these 2 languages?


It really doesn't matter all that much, the main advantage C# has for game development is XNA which isn't available if you go cross platform, The quality of the crossplatform libraries and engines are pretty much the same for both languages, both runtimes (Mono and Java) have good performance these days, Personally i think Microsoft will do a better job with the actual language than Oracle will.

Share this post


Link to post
Share on other sites
Hidden


It really doesn't matter all that much, the main advantage C# has for game development is XNA which isn't available if you go cross platform, The quality of the crossplatform libraries and engines are pretty much the same for both languages, both runtimes (Mono and Java) have good performance these days, Personally i think Microsoft will do a better job with the actual language than Oracle will.


C# Mono isn't made by Microsoft

Share this post


Link to post
I've never really used C# and I don't know it's capabilities are, but much like Simon said, Microsoft will probably do a far better job with their product than Oracle (it seems they already are). In terms of cross-platform, I can't seem to find any evidence that Java works on the consoles, but Wikipedia suggests that C# is seeing support on the 360, PS3, and the Wii, so it definitely gets an edge.

Share this post


Link to post
Share on other sites
I know that Java is faster than C# (when using the VM), but Java uses more memory, and I see Java has alot more game related tools like Jmonkey, Lwjgl, jogl, ode4j, jbullet and I haven't seen too many for C# (and please don't say Xna because it only works on Windows and Xbox 360)

And that some people say C# is much easier than Java.



But I find it difficult to choose between these languages

Share this post


Link to post
Share on other sites
how do you know that java is faster than c#?

To answer your question, c# / mono / opentk will take you to windows, mac, linux, android, iphone and who knows what else.
You also have to think about Visual Studio as part of c#.. the productivity boost you get just by using it is, alone, a reason to prefer c#.

But as usual, when it comes of these threads my answer is.. you cannot choose and don't have the necessary background to make a decision... throw a coin then stick with it. Both languages are perfectly capable of delivering... the bottleneck is the programmer, not the technology biggrin.gif

Share this post


Link to post
Share on other sites
I don't think there is really a significant performance difference between Java and C#. I'd pick C#, but that's just a personal decision. my impression is that C# is more advanced than Java in matters of actual language features. LINQ is pretty neat, to name one. There's a lot of nice syntactic sugar. Besides that, here is a comparison between Java and C#.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!