Summary

The Common Language Runtime (CLR) provides several services for a managed execution environment. Its managed execution process includes steps for code design, intermediate language (IL) code creation, native code generation via just-in-time (JIT) compilation, and execution. The execution model has a few JIT compilation options that vary by level of optimization, execution speed, and availability of CLR services.

Metadata enables the CLR to provide managed execution services. The metadata used includes information on assemblies, types, and attributes. Managed services include exception handling, security, automatic lifetime management, debugging and profiling, and interoperability.

Get C# Unleashed 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.