managed code

managed code

(operating system)
Code that is executed by the .NET common language runtime (CLR). VB.NET code is always managed code but C++ .NET can optionally use unmanaged code. Managed code provides metadata allowing the CLR to manage security (role-based as well as new approaches to code access security). The CLR also handles errors, manages the program stack and finds methods in assembly modules. Managed data is memory that's subject to garbage collection. There are additional restrictions to permit interoperability of different languages, for example, Visual Basic arrays must be zero-based.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

managed code

Managed code is an application that is executed within a runtime engine installed in the same machine. The application cannot run without it. Java, Visual Basic and .NET are examples of managed code.

The runtime environment provides the general library of software routines that the program uses and typically performs memory management. It may also provide just-in-time (JIT) conversion from source code to executable code or from an intermediate language to executable code. In addition, a DBMS may include a runtime engine for its programming language. Contrast with unmanaged code. See runtime engine, CLR and Java.
Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.