The Virtual Execution System (VES)

To implement the Common Type System discussed in the previous chapter, CLR provides the Virtual Execution System (VES). The VES is responsible for loading and executing programs that are written for the .NET runtime.

The important components of the VES are as follows:

  • Microsoft Intermediate Language (MSIL)

  • Managed code

  • Native code

In the course of the following discussion, these terms will be described in detail.

The Steps of the Execution Model

The following steps are involved in the execution model of the .NET runtime:

1.
Produce managed code.
2.
Compile the Intermediate Language to native code.
3.
Execute the application.
4.
Deploy the application.

What follows is a closer look at each of these steps ...

Get Special Edition Using C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.