What is managed code?

"Managed Code" is a term created by CopRoration Microsoft®. This term refers to a program code that requires the use of a virtual running runtime machine (CLR) to be used. The term "uncontrolled code" is used to indicate a program code that does not require this virtual computer.

The common language has been developed in an effort to allow programs to run on different computers and operating systems without required any changes in the program code. For this purpose, the computer program code is converted to a virtual machine. This bytecode is then interpreted by the CLR virtual machine and converted to bytecode for the specific computer on which it runs.

The managed code is able to run on any computer that is equipped with a CLR virtual computer. This high degree of portability gives it a definitive advantage over the wrong code. The uncontrolled code requires programmers to change the program code for use on different machines. This not only may be slow, can tIf lead to many application errors.

Another advantage that the code has managed is its increased security. Securing the program made with the non -modified code is strongly relying on the implementation that the programmers made. The use of the CLR virtual machine helps to eliminate a large part of the security problems from the programmers' arms. Most of the security problems that may arise are directly concentrated inside the virtual computer itself. This in itself helps to centralize problems, so it is much faster to implement safety patches.

The problem of whether a specific code file is managed by a code or not managed code is extremely important for computer programmers. The managed code has a higher portability degree, but this portability requires that the running of the conventional language is installed on the target computer. On the other hand, you can manage uncontrolled codBez adding CLR.

for the afterThere are many advantages, but there are also several disadvantages. The primary disadvantage is the direction that requires the use of the CLR virtual computer. The difference between the speed that the managed code runs compared to the speed of uncontrolled code is often negligible, but in some cases it creates a very noticeable difference at the time of application response. As a result, the uncontrolled code plays a key role in most applications that require a high rate of speed compared to portability.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?