What is Managed C++?

Code Gurus,
What is Managed C++?

Thanks
[60 byte] By [engineer2004] at [2007-11-18 20:34:29]
# 1 Re: What is Managed C++?
C++ using managed extensions (aka, the .Net framework)
kasracer at 2007-11-9 12:03:03 >
# 2 Re: What is Managed C++?
[Moved thread]
Yves M at 2007-11-9 12:04:07 >
# 3 Re: What is Managed C++?
check this link:
A first look at C++/CLI ( http://www.codeproject.com/managedcpp/cppcliintro01.asp)
hspc at 2007-11-9 12:05:05 >
# 4 Re: What is Managed C++?
From Microsoft:

unmanaged code (n.)
Code that is executed directly by the operating system, outside the Microsoft .NET Framework's common language runtime. Unmanaged code must provide its own memory management, type checking, and security support, unlike managed code, which receives these services from the common language runtime. Unmanaged code must be executed outside the .NET Framework.

managed code (n.)
Code executed and managed by the Microsoft .NET Framework, specifically by the .NET Framework's common language runtime. Managed code must supply the information necessary for the common language runtime to provide services such as memory management, cross-language integration, code access security, and automatic lifetime control of objects. All code based on Microsoft Intermediate Language executes as managed code.
Andreas Masur at 2007-11-9 12:06:11 >
# 5 Re: What is Managed C++?
Originally posted by engineer2004
What is Managed C++?

It's Microsoft-speak for interpretation in .NET. The C++ code is compiled to an intermediate language which is then interpreted at runtime. If many languages use the same intermediate language it becomes very easy to mix them.

It's essentially the same technology as Sun uses for Java. By providing interpretators for the intermediate language on many platforms, Java programs can run "anywhere".

So the two companies are essentially using the same basic technology to accomplish interoperability between languages (Microsoft) and portability between platforms (Sun).

Long live interpretation! No just kidding. I'm quite a fan of static compilation. Someone has to write the interpretators right. :D
_uj at 2007-11-9 12:07:10 >