Search This Blog

Friday, December 14, 2018

What is IL Code, CLR, CTS, CLS & JIT?

Step:1
Welcome to designer blog, Here we are going to discuss about  What is IL Code, CLR, CTS, CLS & JIT?

Step:2

IL (Intermediate Language) - Half compile code  (either it be Vb.net or C# Sharp)

CLR - Common Language Run-time. 

Programmers are use high-level languages like C# and  C++  etc ... Default Compilers,  compile  C#programming to machine language( 0 and 1). so that operating system can understand.Once it compile, it will produce Assemble( .dll and .exe file).

There is one dis-advantage of default compiler is it runs only in Window Server not in Linux server

To overcome this problem we are using ".Net Application" it compiles the C#,Vb.net and other languages and  produce assembly(.Dll or EXE) in IL code  (Intermediate language).. CLR  is the heart of the .net application which  converts IL Code to  Native code so that operating system can understand



IL   -  CLR (Windows, Linux) -  Operating sytem
         IL

        JIT Compiler(Just In-Time Compiler ) in CLR converts, the IL into native code which can then be run on the                                                underlying operating system.
         Native Code
            "
          OS

CLR is introduced  runtime environment which converts IL Code to Native code suing JIT Compiler ..
Native code =which unix operating sytem ( o and 1) can understand

 Converts Intermediate language to Native code  where operating system can understand

CTS -  Common Type System -  Common Datatype platform 

(either you write your code in Vb.net or C# Sharp)  it will have the common data type example
Dim i As Integer -  Vb.net
int i = 1;             -      both will have common data type int 32


CLS - Common language Specification - (Data Access Layer)
Set of rules or guidelines to following and for referencing to another .net language

You write your code in C# Sharp and it consume in Vb.net that is called as Common language Specification by following CLS










No comments:

Post a Comment

Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...