Managed code: Difference between revisions

Content deleted Content added
Updated URL of 2nd reflist link to new URL, old URL died/migrated.
Line 11:
 
==Uses==
The [[Microsoft Visual C++]] compiler can produce both managed code, running under CLR, or unmanaged binaries, running directly on Windows.<ref name="Gregory">{{cite web |author=Gregory, Kate |date=2003-04-28 |title=Managed, Unmanaged, Native: What Kind of Code Is This? |date=2003-04-28 |url=httphttps://www.developer.com/netmicrosoft/cplusc-sharp/article.phpmanaged-unmanaged-native-what-kind-of-code-is-this/2197621 |access-date=2009-04-22 }}</ref>
 
Benefits of using managed code include programmer convenience (by increasing the level of abstraction, creating smaller models) and enhanced security guarantees, depending on the platform (including the VM implementation). There are many historical examples of code running on virtual machines, such as the language [[UCSD Pascal]] using [[p-code machine|p-code]], and the operating system [[Inferno_(operating_system)|Inferno]] from [[Bell Labs]] using the [[Dis virtual machine]]. [[Java (programming language)|Java]] popularized this approach with its [[Java bytecode|bytecode]] executed by the [[Java virtual machine]].