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.
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.
+ 7
What did coffee do to you?!?!?!
+ 6
portability / speed. Although c# is catching up in the portability area.
+ 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.
+ 5
I never disrespected coffee so that's just a baseless assumption. I never said I dislike java
+ 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.
+ 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!
+ 2
c++ stands strong for game development.
+ 2
What's the advantage it has over C# tho?
+ 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.
+ 2
Nope its not bad, but for personal illogical reasons lol. I don't want to use it anymore
+ 2
Ugh, I feel the love. No likes?
+ 2
This is what happens when you disrespect the coffee lol
+ 1
Why such disdain for Java? Is it really that bad?? lol
+ 1
relax Simon, I'm only joking with you lighten up. On another note, did you really just dislike my comment??? How mean haha
0
Just to show my disdain.
0
disliked you back. HA! REVENGE! lol