What the heck is the CLR

I guess this reading did not surprised me because Microsoft has been working with the open source community and trying to push their development tools for quite some time.  I found very interesting the advantages of portability and compactness, mainly because we live in the age of downloads and compactness is a very important factor. Also,  as I would like to know more about security the part of implementing security in the multiple platform execution environment.  Lastly, the flexibility with the construction of typesafe meta programming sounded really good.
Specifically, the CLI works  using multiple concurrent threads of control which are basically a silly linked list of stack frames. It contains the following components: Instruction Pointer to point to the next CLI instruction, evaluation stack containing intermiediate values of computation, array of local variables, array of incoming arguments,  method info handle that contains information about each method, memory pool for dynamic allocation, return state handle to restore the method state, security descriptor. It has a lot more components than the JVM which makes it more secure.
It also contains Assemblies which are the modules containing the intermediate code and metadata for security, versioning, type resolution and processes. This manifest can include reference types like classes, interfaces, arrays and delegates, also structs and enums.
As a conclusion the CLI is a very complex and complete execution environment, it contains a lot of the elements in the JVM plus some others to support multiple languages instead of only C#. It is also a thing about C# having more features than Java.

Comentarios

Entradas más populares de este blog

How will programming language be in 100 years?

Women's greatest contribution to Computing