Archived

This topic is now archived and is closed to further replies.

C# VS C++

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

Depends how much you really wanna do.

C# is easier to learn/use, however there will be about a 10% slowdown as far as I''ve heard/seen compared to C++.

One thing I have heard mentioned somewhat is that the 10% slowdown was on relativetly simple D3D demos. Not FULL GAMES.

There is a lot more to a full game than just a series of Direct3D calls. So if you planning on a large scale project you may want consider how the AI/pathfinding/physics/etc will be affected by being written in C#.

One other warning is that many gamers don''t have the .NET framework installed yet that is required to use C#. So if your making a small game thats only 10-20 megs youll have to have them download an extra 25 meg file just to play it.

On a side note I think the framework will become common place within a few years, especailly once Longhorn comes out.

Share this post


Link to post
Share on other sites
Quci kextra reply before the C# enthusiasts flame me

Using C# with managed DX is very easy and will allow you to code much faster overall. And thats a fact I don''t think that many people disagree with heh.. (*hopefully

Share this post


Link to post
Share on other sites
I''ve made up my mind.... I''m going to stick with C++ because it is considerably more mature than taking the shortcut with C#.

Argue my point if it''s incorrect though, please do....

_____________________________

- Rob Loach
Current Project(s): Upgrade to .NET and learn DX 9

Share this post


Link to post
Share on other sites
C++ is fine for game programming, I have no desire to change at all. I havn''t used C# so someone else can tell you its features

C++ is faster because I know what kind of machine code it generates and doesn''t have any extra fluff. C# uses MS''s .NET interpreter and you all know how fast microsoft programs are

Share this post


Link to post
Share on other sites
I won't argue it but I'm sure there is someone one these forums that will.

EDIT: I'd still recomend Visual Studio .NET over VS6 if your planning on getting it. It has better C++ standards compliance plus an awesome debugger from what I hear.

Still haven't got a copy myself tho (lazy/cheap/poor)

[edited by - Illumini on March 23, 2003 8:59:57 PM]

Share this post


Link to post
Share on other sites

This topic is 5380 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.

Guest
This topic is now closed to further replies.