Jump to content
  • Advertisement
Sign in to follow this  
Eric_B

C++.net vs C#

This topic is 5036 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
The advantage of using Managed C++ is that it is much easier to migrate old code into .NET. The disadvantage is that it sucks.

Share this post


Link to post
Share on other sites
Quote:
Original post by jperalta
The advantage of using Managed C++ is that it is much easier to migrate old code into .NET. The disadvantage is that it sucks.

[grin]

Share this post


Link to post
Share on other sites
Managed C++ should only be used for wrapping old code. It is UGLY!! C# is the natural language for .NET.

Share this post


Link to post
Share on other sites
The 2.0 Managed C++ is much more pleasant than the old managed C++, but the interop facilities are more efficient in either type of managed c++ than in C#. Other than that creating mixed mode assemblies is handly from time to time, but you alread knew about those.

Share this post


Link to post
Share on other sites
Managed C++ is useful to know. At work I used it to bring unmanaged components into a managed environment with finer control than C#'s P/Invoke would allow me. (Specifically, I needed to unload the DLL after a certain amount of time to force it to clean up.)

P/Invoke's marshalling of a managed delegate into an unmanaged function pointer pretty much redefines sexy, however.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!