martes, 1 de noviembre de 2016

Technical Overview of the CLR

Today I will talk about article that I just recently read, which is titled Technical Overview of the Common Language Runtime and was written by Erik Meijer and Jim Miller. Both worked at Microsoft and form important part of developing the Common Language Runtime (CLR).

Basically, the text compares some of the things offered by the Common Language Infrastructure (CLI) with the Java Virtual Machine (JVM). The main difference is that the CLI is a platform that supports a wide range of languages. Microsoft developers work closely with the implementers of these languages so that programs compiled efficiently and smoothly.

The architecture that makes up the CLI are the instruction pointer, the evaluation stack, an array of the local variables, local memory pool, among other things. The CLI easily manages multiple concurrent threads, which can be seen as a list of stack frames. Also, the CLI handles different types of data, that is, has a set of primitives which in turn can be combined with different types of constructors allowing the size value be mapped. The natural size has more benefits on how the JVM defines the storage locations, because 64-bit formats occupy two locations.

Throughout the whole paper is shown as the CLI it is much more powerful than the JVM, and although I can not say for sure that it is true, I recommend reading the article so that each pose their own opinions and can see the benefits of using each one. Something that struck me is that the article was written in 2001, so today we are able to appreciate the advances that have been made in both the CLR and the Java Virtual Machine, each taking advantage of recent progress.

I consider important to take into account the functionality offered by both the JVM and the CLR of .NET when implementing a programming language, because if it is object oriented, obviously should the JVM is better and for imperatives paradigms the CLR.

No hay comentarios:

Publicar un comentario