Jump to content
  • Advertisement
Sign in to follow this  
Eric_B

C++.net vs C#

This topic is 5470 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!