[RESOLVED] [Serious] What is the difference between managed and unmanaged C++
I have absolutely no clue but i've always wanted to know.. and I havent gotten a good answer..
Re: [Serious] What is the difference between managed and unmanaged C++
Perhaps you should've asked in the C++ forum.
Re: [Serious] What is the difference between managed and unmanaged C++
Well ok.. if a moderator sees this, feel free to move it to the C++ forum..
Re: [Serious] What is the difference between managed and unmanaged C++
I'd think it's an extension of safe/unsafe C# code. VB is an inherently "safe" language. Everything you can do is run through the OS first for memory management. With C#, you can compile it as unsafe and take control of the memory management yourself. While this does open up the door to blowing stuff up in a whole new way, it also allows code to be several orders of magnitude faster.
Re: [Serious] What is the difference between managed and unmanaged C++
that makes sense to me. Thanks ts.
Re: [RESOLVED] [Serious] What is the difference between managed and unmanaged C++
Bear in mind, I may not be dead on. I'm a C# dev, not C++. And C# has *unsafe*, not *unmanaged* code.
Re: [Serious] What is the difference between managed and unmanaged C++
Quote:
Originally Posted by timeshifter
I'd think it's an extension of safe/unsafe C# code. VB is an inherently "safe" language. Everything you can do is run through the OS first for memory management. With C#, you can compile it as unsafe and take control of the memory management yourself. While this does open up the door to blowing stuff up in a whole new way, it also allows code to be several orders of magnitude faster.
Nothing to do with it.
Managed C++ (C++/CLI, or the far older, abysmal Managed Extensions for C++) is compiled to MSIL, linked against the .NET framework, and uses Microsoft-specific extensions to the ANSI C++ standard syntax.
Unmanaged C++ is standard and compiles to whatever you like (usually native code).
Re: [RESOLVED] [Serious] What is the difference between managed and unmanaged C++
It should be noted that anyone who uses Managed C++ dies a slow and painful death..
chem