.net CLR

393 views
265 views

Published on

.net CLR By Ashu Chauhan

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
393
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

.net CLR

  1. 1. CLR Basic Introduction By Ashu Chauhan
  2. 2. • What is Platform Independent? • Are C/C++/Java/.net languages platform independent? • Portability: Delivering portability is a key aspect when developing a program targeting a wide range of platforms. A couple of questions need answers to enable execution on multiple platforms: What kind of CPU is used? What Operating System (OS) will the program be running on? • Implicit Compilation: The implicit way delivers portability quite more effortlessly, because the first step of the process is much more platform agnostic. Each target platform has a JIT compiler deployed and as long as the IL can be interpreted the program can execute. The initial compiler does not need to know all of the places where the software might run. • Java vs .net
  3. 3. • Common Language Infrastructure (CLI): It is an open specification developed by Microsoft and standardized by ECMA(European computer manufacturer association). It defines the characteristics of a runtime environment that supports the development of portable application written in multiple language. Microsoft .NET Framework and the Mono project are based upon this CLI. Microsoft published the source Code for implementing the std, Known as Rotor. Overview of CLI Virtual Execution system: Provide an environment for executing managed code
  4. 4. • Component of CLI:
  5. 5. • How .net code get compiled:
  6. 6. Role of CLR in .net Framework: The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the Program. It acts as a layer between Operating Systems and the applications written in .net languages.
  7. 7. • Class loader:This Load classes into runtime. • MSIL To Native code Compiler: Converts MSIL to native code. • Code manager: • Garbage Collector: • Security Engine: • Type Checker: • Thread Support: • Exception Manager: • Debug Engine: • COM Marshaler: • BASE Class Libraray:
  8. 8. • CLR Execution Process:

×