![]() |
Programming language used for CoD
I am interested in knowing what programming language (or languages) were used to code Cliffs of Dover. Is the code native C++ or is it a managed language like C# or managed C++ running on the .net runtime ?
My interest stems from the fact that at present i use Java for most of my work so would like to know if complex, performance critical new games like CoD use managed languages or still stick with native C/C++ due to performance reasons. Thanks |
From memory of a recent inerview it's C and C#. I don't think they mentioned C++ but I could be wrong.
Cheers |
I think it's C++, but not 100% sure.
|
99% of all high performance games are written in c/c++ so yes, the 3D engine is written in that. However, MG seems to have continued the tradition of writing the GUI in an "easier" language so that is written in C# this time (it was Java in IL2). Many other games have the same approach as C# is a much nicer language to write GUI:s in.
In the background of some image from the MG office taken a year or two ago I remember seeing something that looked like collision detection code written in C#... That must have been something else though, if they are mixing c++ and c# in the 3d engine they sure would get problems with performance... No conspiracy theories now please ;) |
Thanks everybody for your inputs.
One last point, Mazex, when you say the GUI is written in C#, do you mean just the menus or all of the game visuals i.e. aircraft and scenery ? Thanks |
IL2 was written in Java (game logic, physics, scripts, AI) and C++ (render, sound, net code, landscape, animations), that's why Theatre of War series are also mostly in Java since they use a heavily modified IL2 engine.
|
Quote:
|
Quote:
|
My question at the start of this thread has been answered by your inputs.
Based on all your responses it seems the engine is written in native C/C++ while the rest is coded in C#. Thank you all once again. |
Quote:
The last project I had the chance to code in assembler was for 386 running DOS back in the late 80s. Then it was C, then C++ and now it's mostly Java. Hardware is much too cheap these days :cool: |
| All times are GMT. The time now is 03:06 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.