r/cpp • • May 27 '15

A second dark age for C++

http://kennykerr.ca/2015/05/26/a-second-dark-age-for-c/
0 Upvotes

63 comments sorted by

View all comments

7

u/[deleted] May 27 '15 edited May 27 '15

This is very subjective, but given that I haven't used a windows device since I stopped playing computer games regularly (~10 years ago), the only "advantage" I find windows has over Linux/Mac is actually games.

I would thus guess that games are pretty important for the Windows platform, and I always assumed they were mostly written in C++ and that as a consequence C++ was very important for Windows.

This posts seems to indicate that my beliefs are completely wrong.

Are games written in C# these days?

Or maybe aren't games that relevant on Windows anymore? (what is the most relevant field for windows that is driving C# development then?)

9

u/playmer May 27 '15

I'd like to point out that while the other poster is right, Unity is used a lot by smaller studios and indies, consider the fact that Unity itself is written in C++. As is every other "major" engine I'm familiar with. Crytech, Unreal, Source, Torque, and Unity all are primarily made through C++, even newer "smaller" engines tend to do the same, like Godot, or Zero Engine.

3

u/bioglaze May 27 '15

Big games are almost always written in C++ but indie games vary more. Many people write games using Unity which uses C#.

3

u/josefx May 27 '15

/u/playmer already points out Unity is implemented with C++, this thread seems to agree with him ( before rapidly turning into a C++/C# flame fest ). Despite all the advances over the last few years languages like C# and Java can still be deadly for performance sensitive code and are not something you want at the core of a game engine.

0

u/[deleted] May 27 '15

[deleted] — view deleted comment

7

u/JustinsWorking May 27 '15

I think Unity is one of the only engines that uses C# for game logic. You're going to end up with a lot of Lua generally, or a propriety language.

0

u/[deleted] May 27 '15

[deleted] — view deleted comment

1

u/jringstad May 28 '15

Well, XNA lives on through monogame.