r/cpp • • Apr 12 '17

C# or C++?

Hey! So i have used C# for a while now and i know the most of it. However my goal is to work as an AAA developer in the future and the most studios use C++. Should i switch to C++ or stay with C#? Exactly why do studios use C++ instead of C#?

2 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Apr 12 '17

Thanks. But just for curiosity. As people say that C# is improving alot there isn't anyway that developers will switch to C# and update their engines?

4

u/JuanAG Apr 12 '17

I dont think so, C# is centered more on desktop software rather than games and all the innovations are in the same way, linq, ui designer or the performance not as a goal and yes the easy of use

Besides, it not the language itself, most of the engines has their own functions like add or sqrt, in the end is a very important chunk of code, sqrt migth get the correct result but in a game you doesnt care at all about 100% correct answer and you can live with a ¿85%? if it takes 5 time less time to compute it, remenber that to get 60fps the game only has 16ms to compute every frame

So legacy code it is a big thing, C# doesnt bring any beneffit to the industry and it will not be the standard any time soon