What is un / managed dll? What is un / managed code?

Can someone please explain to me what an un / managed DLL is? What is un / managed code?

+9
dll managed unmanaged
source share
4 answers

You will receive reliable information about managed and unmanaged code in the next article -

http://www.developer.com/net/cplus/article.php/2197621/Managed-Unmanaged-Native-What-Kind-of-Code-Is-This.htm

+4
source share

Short answer: code compiled without .NET framework (simple old DLL).

+8
source share

The immutable code will be compiled for the machine language, which will be run directly on the hardware.

The managed code will be compiled to a virtual machine named CLR (Common Language Runtime) and compiled for the machine language when JIT (Just in time compiler) starts. The CLR can be compared to a Java virtual machine, this is the same concept.

+6
source share

When encoding with .net, you get some memory management, garbage collection, etc., which is why it is called managed code. Older versions are unmanageable (programmer used to manage memory)

And to keep things simple, calling from managed code to unmanaged code can be a pain.

+3
source share

All Articles