The CLR Architecture

The CLR Architecture




 Common Language Infrastructure.

   
CLI allows for cross-language development.
Four components:
Common Type System (CTS)
Meta-data in a language agnostic fashion.
Common Language Specification – behaviors that all languages need to follow.
A Virtual Execution System (VES).
 
Common Type System (CTS)

A specification for how types are defined and how they behave.
no syntax specified
A type can contain zero or more members:
Field
Method
Property
Event
We will go over these more throughout the quarter.
CTS also specifies the rules for visibility and access to members of a type:
Private
Family
Family and Assembly
Assembly
Family or Assembly
Public
We will go over these more throughout the quarter.
  
Other rules
Object life-time
Inheritance
Equality (through System.Object)
 
Languages often define aliases
For example
CTS defines System.Int32 – 4 byte integer
C# defines int as an alias of System.Int32
C# aliases System.String as string.
 
 
 

Comments

Popular posts from this blog

Handling of Skew

Fragment-and-Replicate Join

USER INTERFACE DESIGN FOR ANNA UNIVERSITY SYLLABUS