A
A
arrow04012018-10-09 20:18:20
C++ / C#
arrow0401, 2018-10-09 20:18:20

How is c++ different from c#?

Good time to all!
I have always been interested in the ever-clouded topic of game development. But no matter how much I tried to ask the omniscient Google what is the difference between c# and c++ and why c++ is used for large projects, I never got an answer.
So, I ask you, fellow game developers and software developers (maybe they are also rummaging), what is the difference, why they choose c ++ for large projects, because as far as I know, they are basically similar (after all, everything is from the family C)
PS Guys, just don't hit with sticks. I'm generally a beginner web programmer) It's just that your C's are very interesting :)
Thank you all in advance for your answers

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Pushkarev, 2018-10-09
@AXP-dev

What is the difference between C++ and C#?

G
Griboks, 2018-10-09
@Griboks

1) C++ came early => game engines on it too => big games too => big studios got used to it
2) C++ is a bit faster. If suddenly you do not like optimization, then your c++ shit code can sometimes run faster.
3) C++ has a base and engines that appeared earlier and are more developed.
4) C# is easier to write and more convenient. For most games, C# is fine.
5) C# is much safer and allows you to make fewer mistakes and write less code.
6) C# games weigh less (code).
7) C # (Unity 3D) has such a low entry threshold that even schoolchildren write games on it and post it on Steam.
In what way are they similar? They contain parentheses and semicolons in the same way.

G
GavriKos, 2018-10-09
@GavriKos

They don't choose the language. Choose technology. In a simplified (though not correct) version - engines. Technologies are selected based on tasks AND resources. And already technology CAN (but not necessarily) pull the tongue.
Example. You need to quickly make a small game with an average budget. You can take a ton of engines. BUT - there are pluses in the team. OK, then we take the appropriate movement and plus signs. Or vice versa - you need to make a mega-huge game, and there are a lot of sharpists in the team - why not take a stack of technologies with sharp, if they fit BY OTHER criteria.
About "in principle it looks like." German and English how are they similar? What about Spanish and Finnish? The letters are all in the Latin alphabet.
This is how they basically look alike.
I'll put on even more. Almost nothing depends on the language. You can take the pluses, compile which thread with a shit compiler that is not configured and get a brake nightmare. You can take sharps, feed them to an ultra-modern interpreter - and everything will generally start up everywhere and be cool. On the contrary, it is also absolutely true. This is approximately how to say that "all tabloid novels are best written in English, and monumental Talmuds - in Latin."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question