C++ or C#? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

C++ or C#?

It's my intention to become a game developer when I leave university in the future and I intend to start some serious work early on. So my question is, knowing my goal as a game developer, C# or C++ , no java I made a pact against java lol.

31st May 2017, 12:38 AM
Simon
Simon - avatar
17 Réponses
+ 4
Some advantages over c#: * Performance * Multiple Inheritiance * Great portability. Though, Unity may have this covered for c#. Some advantages c# over c++ * Garbage collector makes life easier * libraries under .NET framework are👌👌 The reason why I said c++ is mainly because (I think) it is more common for the gaming industry. They are undoubtedly similar languages though, learning one will allow you to learn the other fairly easily. Syntax for some things may be a pain. Another thing for c# is that it may actually be a more supported language, and has nice syntax sugar. I could have stirred this back to the original question 😶 from which I no longer know the answer to. I think the key thing for c++ is performance.
31st May 2017, 1:07 AM
Rrestoring faith
Rrestoring faith - avatar
+ 7
What did coffee do to you?!?!?!
31st May 2017, 9:33 PM
jay
jay - avatar
+ 6
portability / speed. Although c# is catching up in the portability area.
31st May 2017, 12:59 AM
jay
jay - avatar
+ 5
Unity uses C#, and Unreal uses C++ to program 2D/3D games. Although Unity is more popular, but Unreal graphic engine processing is more advance.
31st May 2017, 1:06 AM
Calviղ
Calviղ - avatar
+ 5
I never disrespected coffee so that's just a baseless assumption. I never said I dislike java
1st Jun 2017, 12:18 AM
Simon
Simon - avatar
+ 4
@simon I would recommend you to learn C++ first because that will teach you all the concept of OOPs and some advanced concept(good to know as a programmer, like playing with memory using pointers etc..) from scratch which will helps you to learn C# very easily. Hope that helps. Thanks.
31st May 2017, 1:35 AM
Patel
+ 3
Okay I'll learn C# first, then C++. Since as you said there's no need to just learn one (:. Thanks for your support guys!
31st May 2017, 1:16 AM
Simon
Simon - avatar
+ 2
c++ stands strong for game development.
31st May 2017, 12:44 AM
Rrestoring faith
Rrestoring faith - avatar
+ 2
What's the advantage it has over C# tho?
31st May 2017, 12:45 AM
Simon
Simon - avatar
+ 2
@Rrestoring faith well comparison between two strong programming languages. If I see the performance then C++ is faster than C# for sure. Let me explain you why. C# code has to go through .NET framework and not running directly on the platform(unlike C++) which you are using which makes it little slower compare to C++. One of the biggest advantage of C++ is that you have the access to memory directly using pointer which is not possible in C# or JAVA since they have a framework to pass through which controls everything. Hope that makes sense. Thanks.
31st May 2017, 1:32 AM
Patel
+ 2
Nope its not bad, but for personal illogical reasons lol. I don't want to use it anymore
31st May 2017, 9:25 PM
Simon
Simon - avatar
+ 2
Ugh, I feel the love. No likes?
1st Jun 2017, 12:14 AM
Simon
Simon - avatar
+ 2
This is what happens when you disrespect the coffee lol
1st Jun 2017, 12:17 AM
Diogenes Muse-Cleveland
Diogenes Muse-Cleveland - avatar
+ 1
Why such disdain for Java? Is it really that bad?? lol
31st May 2017, 7:43 PM
Diogenes Muse-Cleveland
Diogenes Muse-Cleveland - avatar
+ 1
relax Simon, I'm only joking with you lighten up. On another note, did you really just dislike my comment??? How mean haha
1st Jun 2017, 12:21 AM
Diogenes Muse-Cleveland
Diogenes Muse-Cleveland - avatar
0
Just to show my disdain.
1st Jun 2017, 5:08 PM
Simon
Simon - avatar
0
disliked you back. HA! REVENGE! lol
4th Jun 2017, 12:29 AM
Diogenes Muse-Cleveland
Diogenes Muse-Cleveland - avatar