Managed code
From Wikipedia, the free encyclopedia
Managed code is computer program code that executes under the management of a virtual machine, unlike unmanaged code, which is executed directly by the computer's CPU. The benefits of managed code include programmer convenience and enhanced security guarantees. Managed code is somewhat synonymous with bytecode.
Programs in any programming language could in principle be compiled into either managed or unmanaged code. In practice, however, each programming language is typically compiled into one type. For example, the Java programming language is almost always compiled into managed code, although there are Java compilers that can generate unmanaged code (such as GNU Compiler for Java).
Java popularized using managed code (called bytecode in Java terminology), executed by the Java Virtual Machine. Microsoft also uses managed code in its CLR virtual machine in the .NET Framework, or another similar virtual machine. Microsoft's most common languages for creating managed code are C# and Visual Basic.NET.