about c, c++, and c++/cli

  • Thread starter Thread starter Jordi Maycas
  • Start date Start date
J

Jordi Maycas

Is C++/CLI the present and the future of software development?

I am using C, from 15 years ago, and now I would like to learn something
about directx, games and so on, and I am wondering if I could use a C++/CLI
using directx and make a game using .net 2005-2008 for example.

Any book to read about that, pdf...?
 
Jordi Maycas said:
Is C++/CLI the present and the future of software development?

Not so much for directx, where you don't want the garbage collector running
at random times and dropping frames/causing jitter in network latency.
 
C++/CLI is for .Net programming. If you are using the XNA framework, you
need to use C++/CLI . Microsoft does not control C/C++'s future. They are
standardized languages.
 
So, future game's, may be is:

a. XNA Framework based.

b. Only with directX sdk (or OpenGL), and ..... pure C++ (VC++6 style based)
without XNA FrameWork.

The big problem in games is, ¿is XNA Framework suitable for doing actual
games? Games such as Quake,Doom, only uses OpenGL/DirectX, and their code is
suitable for Windows/Mac/Linux/Solaris with a little changes in it.
 
Jordi said:
So, future game's, may be is:

a. XNA Framework based.

b. Only with directX sdk (or OpenGL), and ..... pure C++ (VC++6 style
based) without XNA FrameWork.

The big problem in games is, ¿is XNA Framework suitable for doing
actual games? Games such as Quake,Doom, only uses OpenGL/DirectX, and
their code is suitable for Windows/Mac/Linux/Solaris with a little
changes in it.

If multi-OS support is important to you, go with standard C++ and either
OpenGL or SDL.

If you just want Windows and XBox, then use XNA Framework.

If you want XBox and multiple PC platforms, you're probably maintaining two
versions of the graphics code, although wine support for DirectX keeps
getting better.
 
Back
Top