Microsoft Intermediate Language (MSIL)

Source: Internet
Author: User
Tags exception handling execution
If you compile your code into a controlled code, the compiler will bring your source code
Convert to Microsoft intermediate Language (MSIL), which is not dependent on CPU
, and can be efficiently converted to local code. MSIL has a multitude of instructions, like
Loading, storing, initializing, and object-based method calls also count
Operation logic, flow control, direct memory storage and exception handling. Before the code executes
, MSIL must be converted to a specific CPU based code through the JIT compiler. Because of running
Provides one or more JIT compilation for each of the computer architectures it supports
, the same MSIL instruction set can be JIT-compiled and in all supported system knots
Construct the above execution.
When the compiler produces MSIL, it also produces metadata, which describes the code
, including the definition of each type, the signature of each type member, the code
The member that is referenced and other data that is used when the execution is run. Both code and metadata
Included in a PE file, this PE file is based on and extends the published
Microsoft PE and the Common object file format used to perform information
(Common Object File Format) (COFF). PE in this file format, there will be
Facilitates the operation system to identify the CLR mirroring. Metadata that exists in a file with MSIL
will make your code self-describing, which means you no longer need a type library or IDL. In
During execution, the runtime locates and extracts metadata from the file as needed.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.