I think of using c++ instead of c# was about speed, but some tells me that
it's not much difference. So, is that only to access the mfc or are others
things that I can do with c++ .net that c# dows not. I think of using directx
for games in c# will be slow, but now every game is made on managed directx
(right?)...
thx...
Nishant Sivakumar - 12 Jul 2005 12:24 GMT
With C++/CLI, you have the following advantages over C# :-
1. Fastest native interop option among all CLI languages through IJW
2. Mixed mode assemblies (native + managed)
3. STL/CLR
4. Deterministic destruction syntax (more intuitive than the C# using block
semantics)
5. Ability to mix with existing MFC, ATL, WTL, STL code-repositories.
6. Continue using the language you are most familar with

Signature
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com
>I think of using c++ instead of c# was about speed, but some tells me that
> it's not much difference. So, is that only to access the mfc or are others
[quoted text clipped - 5 lines]
>
> thx...
Ondrej Spanel - 13 Jul 2005 07:57 GMT
> for games in c# will be slow, but now every game is made on managed
> directx
Many games are still developed as native applications, especially those
which are trying to achieve top performance. If Managed code is used in such
games, it is mostly in areas like high-level AI or scripting.
Regards
Ondrej

Signature
---------------------------------------
Ondrej Spanel
Lead Programmer
Bohemia Interactive Studio
www.bistudio.com
www.flashpoint1985.com