c++ or c#
Started by jagguy, Apr 30 2006 08:32 PM
40 replies to this topic
Ad:
#2 Members - Reputation: 1029
Posted 30 April 2006 - 08:38 PM
For an accurate look, take a peek at the game programming jobs listing and see what employers are looking for.
Learn to make games with my SDL Tutorials.
Transition from OpenGL 2 to modern OpenGL using my OpenGL Tutorial.
Transition from OpenGL 2 to modern OpenGL using my OpenGL Tutorial.
#8 Members - Reputation: 177
Posted 30 April 2006 - 11:15 PM
Mat Noguchi from bungie is a big advocate of c# so some of the industry is beginning to turn. There was mention of it a month or so back on sweng-gamedev mailing list IIRC.
Twitter: @CaffinePwrdAl
Website: (Closed for maintainance and god knows what else)
#9 Members - Reputation: 100
Posted 30 April 2006 - 11:27 PM
C++ is still the most commonly used language in the industry, and probably will be for a while to come (mainly because current programmers are already trained in C++, and many companies 500,000+ line code bases are still written in C++). As was stated above, C# is very useful for tool development and other auxilliary components for the game, and it is making signifigant inroads in the business app/GUI development field, thanks to the capabilities of the .NET framework.
------------------------------Support the Blue Skies in Games Campaign!A blog... of sorts.As a general rule, if you don't have a general rule in your signature, you aren't as awesome as someone who does. General rules roxor teh big one one ones.
#10 Members - Reputation: 100
Posted 01 May 2006 - 05:07 AM
if your using c# arraylists to manage your textures your gonna get a performance hit.
using realloc and a stack to remember which array indexes are empty is fast.
c# have an unsafe allocator aswell so you can use that. But then your gonna have as much coding to do as c++.
using realloc and a stack to remember which array indexes are empty is fast.
c# have an unsafe allocator aswell so you can use that. But then your gonna have as much coding to do as c++.
#16 Members - Reputation: 100
Posted 01 May 2006 - 04:29 PM
Are you asking becuase you want to know which one to learn? If you are, learn both. If you learn on picking up the other shouldn't be to hard either(Which is true with a lot of languages, they all have the same base things). I prefer C++ becuase i find it more portable(probably every major system has a c++ library for it).
#17 Members - Reputation: 120
Posted 01 May 2006 - 08:32 PM
Personally, I started game development (well..samples etc) in C++, making a basic RPG, and now I prefer C#.
C# is simpler, and easier to manage then ++, and in programs such as games (which you will want to re-use the code for later / make changes during development) this is essential.
I don't know much about the current state of the market, but my guess is the game industry needs to keep pumping out games, so they use what they know.
I can't imagine in 10+ years people will still be using ++, or another unmanaged language to create games.
Microsoft created C#, and they are also currently creating what will be the most advanced, and widely used OS in the world, thats got to mean something :)
James
C# is simpler, and easier to manage then ++, and in programs such as games (which you will want to re-use the code for later / make changes during development) this is essential.
I don't know much about the current state of the market, but my guess is the game industry needs to keep pumping out games, so they use what they know.
I can't imagine in 10+ years people will still be using ++, or another unmanaged language to create games.
Microsoft created C#, and they are also currently creating what will be the most advanced, and widely used OS in the world, thats got to mean something :)
James
#18 GDNet+ - Reputation: 970
Posted 02 May 2006 - 03:09 AM
As others have already said, C++ is still the main jazz in the game development industry. However, for hobbyist projects and learning purposes, there's absolutely nothing wrong with C#. It's quite capable of creating games of reasonable intensity. A handful of commercial games have already been created with C#, so the industry is still not 100% C++ dominated. There's still room for the aspiring .NET coder, I say! [smile]
--Gauntlets of Recursion (+3) - My game development journal.My Recent Projects: [Meteorites] [Gundown] [Magma Duel] [Admiral Overalls] [Membrane Massacre]
#19 Members - Reputation: 633
Posted 02 May 2006 - 10:28 AM
I would personally go for C++, but C# has it's uses too. It's a very much used language here and there, especially in the tools sector for games. I dont think any commercially shipped games use C# or any .NET language yet.
It would be very beneficial to learn both of them, preferably.
It would be very beneficial to learn both of them, preferably.






