All Type Coding

Search Here

What is a Managed Code?

Managed Code in Microsoft .Net Framework, is the code to identify computer program source code that requires and will execute only under the management of a Common Language Runtime virtual machine.In short, all IL are
managed code. However, if you are using some third party software example VB6 or VC++
component they are unmanaged code, as .NET runtime (CLR) does not have control over the
source code execution of these languages.
Unmanaged code is compiled to machine code and therefore executed by the OS directly.
The benefits of Managed Code include programmers convenience and enhanced security . Managed code is designed to be more reliable and robust than unmanaged code , examples are Garbage Collection , Type Safety etc.

No comments :

Post a Comment