School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,358 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,901 people online right now. Registration is fast and FREE... Join Now!




C# the future in gamedevelopment?

 

C# the future in gamedevelopment?, Just a question not a _flamewar_ thread

FrozenSnake

28 Jun, 2009 - 03:58 PM
Post #1

D.I.C Regular
***

Joined: 30 Jul, 2008
Posts: 446



Thanked: 28 times
My Contributions
An acquaintance of mine has said that DirectX11 will be optimized for C# and very difficult to use with C++, is this a rumor or is there any facts to support this?
If it is true perhaps I should take time and start learning C#?
Feel free to recomment good C# books / websites with useful reading in the case my friend is right.


User is offlineProfile CardPM
+Quote Post


crazyjugglerdrummer

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 04:07 PM
Post #2

YOUR AD HERE
Group Icon

Joined: 7 Jan, 2009
Posts: 677



Thanked: 94 times
Dream Kudos: 425
My Contributions
I don't know much about DX11 yet, but some reasons C++ was the main game dev language was speed and popularity (and there weren't tons of other choices). C# is a teensy bit slower, but is definitely popular. MS seems to be pushing it a lot as a desktop, web, and game language, in all of the .net stuff and Xna. I can see it becoming bigger in the game industry. biggrin.gif
User is offlineProfile CardPM
+Quote Post

FrozenSnake

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 04:20 PM
Post #3

D.I.C Regular
***

Joined: 30 Jul, 2008
Posts: 446



Thanked: 28 times
My Contributions
QUOTE(crazyjugglerdrummer @ 29 Jun, 2009 - 12:07 AM) *

I don't know much about DX11 yet, but some reasons C++ was the main game dev language was speed and popularity (and there weren't tons of other choices). C# is a teensy bit slower, but is definitely popular. MS seems to be pushing it a lot as a desktop, web, and game language, in all of the .net stuff and Xna. I can see it becoming bigger in the game industry. biggrin.gif


I dont know anything about C# so is it portable to say linux or Macintosh?
I hope C++ will get a fair change to use DX11 :[
User is offlineProfile CardPM
+Quote Post

e_barroga

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 04:49 PM
Post #4

D.I.C Regular
Group Icon

Joined: 16 Feb, 2009
Posts: 435



Thanked: 23 times
Dream Kudos: 825
My Contributions
I don't think that C# is nearing practical game dev for AAA titles.

C++ is faster and using C# will leave them one step backwards, when the industry is constantly trying to achieve new technology for graphics eyecandy.
User is offlineProfile CardPM
+Quote Post

DoubleFission

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 05:29 PM
Post #5

D.I.C Head
Group Icon

Joined: 20 Sep, 2008
Posts: 189



Thanked: 6 times
My Contributions
http://en.wikipedia.org/wiki/DirectX ... Look at the first word of the article
http://en.wikipedia.org/wiki/C_Sharp_(programming_language) ... Look at the little box off to the right next to "Designed by:"

It wouldn't surprise me that Microsoft would 'force' developers to use C# to utilize DirectX (Easily).

I don't blame them, both are their technologies, however IMO this will have a negative effect with Game Developers and we'll probably see more games written in C++ and using OpenGL instead.

After all, developers can be stubborn people, if they feel like they are being forced to learn something new. They'll go out of their way to not do it...
User is offlineProfile CardPM
+Quote Post

FrozenSnake

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 05:52 PM
Post #6

D.I.C Regular
***

Joined: 30 Jul, 2008
Posts: 446



Thanked: 28 times
My Contributions
True there is their technology but they should be happy that many programmers can use their tech and not force the people to change.
User is offlineProfile CardPM
+Quote Post

e_barroga

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 06:41 PM
Post #7

D.I.C Regular
Group Icon

Joined: 16 Feb, 2009
Posts: 435



Thanked: 23 times
Dream Kudos: 825
My Contributions
QUOTE(FrozenSnake @ 28 Jun, 2009 - 05:52 PM) *

True there is their technology but they should be happy that many programmers can use their tech and not force the people to change.


How else would they make money? tongue.gif
User is offlineProfile CardPM
+Quote Post

FrozenSnake

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 06:51 PM
Post #8

D.I.C Regular
***

Joined: 30 Jul, 2008
Posts: 446



Thanked: 28 times
My Contributions
QUOTE(e_barroga @ 29 Jun, 2009 - 02:41 AM) *

QUOTE(FrozenSnake @ 28 Jun, 2009 - 05:52 PM) *

True there is their technology but they should be happy that many programmers can use their tech and not force the people to change.


How else would they make money? tongue.gif


It's free to use DX and C#?
Does it cost if you use it for commercial products?
User is offlineProfile CardPM
+Quote Post

e_barroga

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 07:02 PM
Post #9

D.I.C Regular
Group Icon

Joined: 16 Feb, 2009
Posts: 435



Thanked: 23 times
Dream Kudos: 825
My Contributions
QUOTE(FrozenSnake @ 28 Jun, 2009 - 06:51 PM) *

QUOTE(e_barroga @ 29 Jun, 2009 - 02:41 AM) *

QUOTE(FrozenSnake @ 28 Jun, 2009 - 05:52 PM) *

True there is their technology but they should be happy that many programmers can use their tech and not force the people to change.


How else would they make money? tongue.gif


It's free to use DX and C#?
Does it cost if you use it for commercial products?


Let me make it easier for you to understand.

What is Microsoft's main goal? To develop OS (Windows).

How do you get more people to buy Windows?

By tying everything to the product you want to sell.
User is offlineProfile CardPM
+Quote Post

FrozenSnake

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 07:17 PM
Post #10

D.I.C Regular
***

Joined: 30 Jul, 2008
Posts: 446



Thanked: 28 times
My Contributions
Got this reply from xnas forum

"D3D will not stop to be native only any time soon." and a link to http://msdn.microsoft.com/en-us/library/bb173043(VS.85).aspx
User is offlineProfile CardPM
+Quote Post

e_barroga

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 07:20 PM
Post #11

D.I.C Regular
Group Icon

Joined: 16 Feb, 2009
Posts: 435



Thanked: 23 times
Dream Kudos: 825
My Contributions
QUOTE(FrozenSnake @ 28 Jun, 2009 - 07:17 PM) *

Got this reply from xnas forum

"D3D will not stop to be native only any time soon." and a link to http://msdn.microsoft.com/en-us/library/bb173043(VS.85).aspx


Nevermind, you're missing the point.
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 07:26 PM
Post #12

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 2,905



Thanked: 165 times
Dream Kudos: 725
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
C# with either DirectX or the XNA Framework is an excellent product for developing games. There are a few problems that companies that use C++ will not want to convert their code to write Windows games. The biggest is that since C# uses the .NET Framework looking into the company's code is easier than with a native language like C++. Reverse engineering is easier and there are dissamblers out there to do this. There are ways around this of course but why would you bother when it is easier just to write the game in C++. C# is still, technically, in it's infancy. Not sure how many will remember this, but when Windows 95/98 first came out it took a while for companies to start writing games for it. They didn't want to give up sole possession of the operating system. If I remember correctly the same was true when .NET first came out. There were many nice bells and whistles but it took time for it to catch on. As Microsoft continues to improve .NET and DirectX/XNA perhaps we will see more big game studios turning to it.

This is just my opinion though.
User is offlineProfile CardPM
+Quote Post

FrozenSnake

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 07:35 PM
Post #13

D.I.C Regular
***

Joined: 30 Jul, 2008
Posts: 446



Thanked: 28 times
My Contributions
QUOTE(SixOfEleven @ 29 Jun, 2009 - 03:26 AM) *

C# with either DirectX or the XNA Framework is an excellent product for developing games. There are a few problems that companies that use C++ will not want to convert their code to write Windows games. The biggest is that since C# uses the .NET Framework looking into the company's code is easier than with a native language like C++. Reverse engineering is easier and there are dissamblers out there to do this. There are ways around this of course but why would you bother when it is easier just to write the game in C++. C# is still, technically, in it's infancy. Not sure how many will remember this, but when Windows 95/98 first came out it took a while for companies to start writing games for it. They didn't want to give up sole possession of the operating system. If I remember correctly the same was true when .NET first came out. There were many nice bells and whistles but it took time for it to catch on. As Microsoft continues to improve .NET and DirectX/XNA perhaps we will see more big game studios turning to it.

This is just my opinion though.


Nice reply but I hope big libraries like DX will be available for more then one language in the future. I don't mind learning C++ and C# but I wanna focus on the main language used in game development at the moment and I believe that is C++. But if its about to change I should focus on the new "number one". But I guess I can stick with C++ for a while longer smile.gif
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: C# The Future In Gamedevelopment?

28 Jun, 2009 - 08:00 PM
Post #14

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 2,905



Thanked: 165 times
Dream Kudos: 725
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
QUOTE(FrozenSnake @ 28 Jun, 2009 - 09:35 PM) *

Nice reply but I hope big libraries like DX will be available for more then one language in the future. I don't mind learning C++ and C# but I wanna focus on the main language used in game development at the moment and I believe that is C++. But if its about to change I should focus on the new "number one". But I guess I can stick with C++ for a while longer smile.gif


DirectX is available for C# already, has been for years. XNA is a wrapper to make working with DirectX easier. I believe even Java can be used for DirectX. I also know that you can use VB.NET with DirectX.

User is offlineProfile CardPM
+Quote Post

stayscrisp

RE: C# The Future In Gamedevelopment?

29 Jun, 2009 - 01:21 AM
Post #15

Mouth->Insert(Foot);
Group Icon

Joined: 14 Feb, 2008
Posts: 1,379



Thanked: 53 times
Dream Kudos: 300
My Contributions

C++ and C# are very similar in syntax so learning one will definitely benefit you when switching to another.

The best thing to do is to focus on your games not the language they are written in. biggrin.gif
User is offlineProfile CardPM
+Quote Post

Fib

RE: C# The Future In Gamedevelopment?

29 Jun, 2009 - 08:32 AM
Post #16

D.I.C Head
**

Joined: 12 Mar, 2009
Posts: 71



Thanked: 6 times
My Contributions
It never hurts to learn both. You really only have to worry about the syntax. Programming concepts will always be the same through every language. Plus learning is fun. Oh ya, and it gives you just one more thing to brag about to your friends smile.gif
User is online!Profile CardPM
+Quote Post

Core

RE: C# The Future In Gamedevelopment?

29 Jun, 2009 - 10:00 AM
Post #17

Den The Developer
Group Icon

Joined: 8 Dec, 2008
Posts: 2,944



Thanked: 214 times
Dream Kudos: 900
Expert In: C#, VB.NET, .NET Framework

My Contributions
I personally think this is just a rumor. Why? Simply because C++ has been the industry standard in game development for a very long time. What are the benefits of C++ for the game industry? There is one that is considered superioir - efficiency. Native code runs faster on the client machine.

.NET is something like Java. In modern conditions, you won't see the performance difference when running standard client applications. However, when it comes to such products as games, you will see that .NET is not the way to go for games that heavily rely on 3D games. Yes, indeed those are possible in C# but will be a bit slower.

Probably, DirectX 11 will be more accessible for C# developers, but it definitely won't ignore the large number of C++ developers out there.

C# is not that portable yet. There is Mono that can be used on Linux and Mac, but DirectX is a platform-specific framework (for Windows), therefore it cannot be used on other systems than Windows.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 07:38PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month