|
-
Feb 17th, 2008, 08:57 AM
#1
[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..
-
Feb 17th, 2008, 09:17 AM
#2
Re: [Serious] What is the difference between managed and unmanaged C++
Perhaps you should've asked in the C++ forum.
-
Feb 17th, 2008, 09:56 AM
#3
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..
-
Feb 17th, 2008, 10:48 AM
#4
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.
-
Feb 17th, 2008, 10:57 AM
#5
Re: [Serious] What is the difference between managed and unmanaged C++
that makes sense to me. Thanks ts.
-
Feb 17th, 2008, 11:51 AM
#6
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.
-
Feb 17th, 2008, 07:22 PM
#7
Re: [Serious] What is the difference between managed and unmanaged C++
 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).
-
Feb 18th, 2008, 01:00 PM
#8
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
Visual Studio 6, Visual Studio.NET 2005, MASM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|