Jump to content
  • Advertisement
Sign in to follow this  
Lovens

Unity C# vs C++... yet again...

This topic is 3628 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

Hi guys, would like your opinion on this one. I would like to know if it is a wise choice to choose C#/XNA for my current project. We are a small team now and I always thought that it would be nice to use this technology because of XBox live community games. By putting our game there we could get noticed right? What are the pitfall of doing that? Is it as easy and beautifull as it seems? My other choice would be to do the game for Windows PC with C++ and DirectX 9 or 10. I have lots of experience in C++ (so do my gfx programmer), and of course it's wayyy better for performance. Many game compagny use it as the De Facto standard, etc... But it's been like 1½ years that I was in C# and I'M close to having a playable prototype. Should I just trash all this code and start in C++? Waiting for some good opinions...

Share this post


Link to post
Share on other sites
Advertisement
You have two alternatives: going on with C#, or starting all over again with C++.

Your objective is, I suppose, to release a playable game as soon as possible. So, the tie breaker here is, which approach lets you do that faster?

Consider the time it takes to complete and optimize your C# code to reach a good playability level, and the time it would take to rewrite, complete and optimize equivalent C++ code to reach a good playability level. Then, choose the option with the list time.

Share this post


Link to post
Share on other sites
Quote:
Original post by ToohrVyk
You have two alternatives: going on with C#, or starting all over again with C++.

Your objective is, I suppose, to release a playable game as soon as possible. So, the tie breaker here is, which approach lets you do that faster?

Consider the time it takes to complete and optimize your C# code to reach a good playability level, and the time it would take to rewrite, complete and optimize equivalent C++ code to reach a good playability level. Then, choose the option with the list time.


Yeah I know that but what it all come down to is: For those who developed Xbox live community games, is it worth ditching C++ for it???

Share this post


Link to post
Share on other sites
To answer that you need to define "worth".

For some it will be "fun" or "time" or even "money".

What is it to you?

Share this post


Link to post
Share on other sites
Quote:
Original post by Lovens
I have lots of experience in C++ [...] of course it's wayyy better for performance.

C# isn't as slow as you make it sound.

Share this post


Link to post
Share on other sites
Quote:
Original post by DevFred
Quote:
Original post by Lovens
I have lots of experience in C++ [...] of course it's wayyy better for performance.
C# isn't as slow as you make it sound.
And even if it was, it would only be a problem if you end up CPU bound - not a particularly common occurrence from my experience.

Share this post


Link to post
Share on other sites
Quote:
Original post by ernow
To answer that you need to define "worth".

For some it will be "fun" or "time" or even "money".

What is it to you?


Well I know C# isn't that slowww but C++ is better plus you can have x86 ASM code for those tight inner loops (I miss coding in ASM). I know I know with algorithmic optimzations and compiler optimizations who needs ASM... But I miss it anyways.

In XNA (3.0 I think) can we use ALL the features that DirectX 10 offers?

If I apply for a job, and they look for a C++ programmer, all my C++ code dates before me even knowing what a design pattern was! So I technically have nothing to show. So if my project is in C++, a nice demo right?

There are soooooooooooooooo many API, Middleware, etc for C++. For C#??? Because I coded everything from scratch, and for my current project I want to use middleware as a good practice.

Share this post


Link to post
Share on other sites
Quote:
Original post by Lovens
Hi guys, would like your opinion on this one.

I would like to know if it is a wise choice to choose C#/XNA for my current project. We are a small team now and I always thought that it would be nice to use this technology because of XBox live community games. By putting our game there we could get noticed right?



That is quite a big pond full of games you are dropping it in to. Are you doing advertising to get it noticed or is it a build it and they will come scenario?

Notice is not something you "get" it is something you have to manufacture.

Share this post


Link to post
Share on other sites
It sounds like you want us to force you to use C++, but you've already received the correct answer to your question: weigh your desire to produce a finished game against your desire to use the "best" language and see which option you prefer more heavily. We aren't going to do your thinking for you; you need to grow up and make your own decisions now. The best we can do is correct any factual inaccuracies you may harbor so that you can have the best possible information before making your decision. On that note...

Quote:
In XNA (3.0 I think) can we use ALL the features that DirectX 10 offers?

No, in all versions of XNA you can only make use of Direct3D9, and perhaps some of the extended features offered by the Xbox360's graphics chip.

Share this post


Link to post
Share on other sites
Quote:
Original post by Mike.Popoloski
We aren't going to do your thinking for you; you need to grow up and make your own decisions now.


Ok I'm sorry, I had the impression that on this site we could get some advice from fellow programmers who had the same choices in the past.

I'm sorry for that...

Note: a friend of mine told me that he never posts here. I think it really sad, lots of people simply want help... Anyways great site anyways gamedev.net :-)


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!