Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   IL-2 Sturmovik: Cliffs of Dover (http://forum.fulqrumpublishing.com/forumdisplay.php?f=189)
-   -   Programming language used for CoD (http://forum.fulqrumpublishing.com/showthread.php?t=20689)

faram 04-06-2011 05:22 AM

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

Skoshi Tiger 04-06-2011 06:36 AM

From memory of a recent inerview it's C and C#. I don't think they mentioned C++ but I could be wrong.

Cheers

HFC_Dolphin 04-06-2011 07:09 AM

I think it's C++, but not 100% sure.

mazex 04-06-2011 07:39 AM

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 ;)

faram 04-06-2011 08:09 AM

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

Sneaksie 04-06-2011 10:04 AM

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.

Damixu 04-06-2011 02:57 PM

Quote:

Originally Posted by Sneaksie (Post 253890)
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.

User Interfaces was written in Java but actual game engine code was written most likely in C/C++.

Oldschool61 04-06-2011 03:09 PM

Quote:

Originally Posted by Skoshi Tiger (Post 253727)
From memory of a recent inerview it's C and C#. I don't think they mentioned C++ but I could be wrong.

Cheers

If they programmed this in assembler it might run on an old pentium 3 just fine, but I dont think theres many programmers with the skills or time to try and code this in assembler.

faram 04-06-2011 03:42 PM

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.

tintifaxl 04-06-2011 03:57 PM

Quote:

Originally Posted by Oldschool61 (Post 254248)
If they programmed this in assembler it might run on an old pentium 3 just fine, but I dont think theres many programmers with the skills or time to try and code this in assembler.

It all relates to money. Developing in assembler is time consuming, so it is expensive.

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.