Quote:Original post by hanifv
How do i use both VC++ and .NET ? i am confused ? people earlier said i cannot compile VC++ code in VS.Net . so is it that i have to keep my original visual studio with VC++ 6.0 and also install the VS.NET ?
No you asked if it was possible to compile C++ code in Visual C#. Visual Studio .NET is Visual C++ .NET, Visual C# .NET, Visual Basic .NET all in one IDE.
Quote:
thedo thanks for your valuable advice. But whats the actual difference between managed an unmanaged apps ?? ( i feel so embarassed to ask this question , lol )
Unmanaged code compiles to the native machine code that we have always been using.
Managed code is the new Microsoft paradigm that compiles to MSIL code and is JIT on the fly when run for the first time. Managed code will be the driving force behind Windows Longhorn application development obviously, taking the place of unmanaged code.
Although for games, I would expect unmanaged code to reign supreme for some time. Maybe not in "game programming".. as that can easily be done in C# with no noticable performance difference at all... but in "game engine programming" I see that staying in the realm of unmanaged code for at least a few years after Longhorn's release, if not longer. It really all depends on how optomized the JIT gets in a short amount of time.
Also remember when people compare the speed of C# applications to C++ applications it is VERY misleading. I mean it is a lot easier to develop well built and performing applications in C# than in C++. Although if you are a master of the language, obviously the unmanaged C++ will run a little faster.
I mean just look at the C# port (Axiom) of the Ogre engine, where it performs better than the unmanaged C++ a lot of the time. It is due to refactoring and better design, not because of language.
Seriously in my opinion I would just pick either C++ or C# and start writing code and games in it. The language actually means nothing unless you are writing professional quality code on commercial applications.
If you feel comfortable with C++ and you've already been using it, you might as well just keep using it. I mean in the end language means absolutely nothing.. it is the design and algorithms that are important anyways, not language syntax which can be easily picked up and refactored at any time.