Changes

The C Sharp Language and Environment

No change in size, 16:00, 9 January 2008
Virtual Execution System (VES)
== Virtual Execution System (VES) ==
The VES (usually referred to as the ''runtime'') is the environment in which the CIL byte code is executed. the The VES reads the byte code generated by the C# compiler and using something called a ''Just in Time (JIT)'' compiler to compile the byte code down to the native machine code of the processor on which it is running. While this code is executing it does so in conjunction with a runtime agent which essentially manages the execution process. As a result, this executing code is known as ''managed code'' and the process handles issues such as garbage collection (to handle memory allocation and deallocation), memory access and type safety to ensure that the code does not do anything it is not supposed to do.
A term that is often using in connection with the VES is the ''Common Language Runtime'' (CLR). The CLR is officially the name given to Microsoft's implementation of the VES component of the CLI specification.