In this article we read about the common
intermediate Language, it seems to be better than the Java Virtual Machine. In
this article we can see the pros of using common intermediate Language and also
the cons of using the java virtual machine. Many experts have written about the
disadvantages of using the JVM, and here we can see them clearly.
There are reasons to choose an alternative to
native compiler, which are:
- ·
Portability
- ·
Compactness
- ·
Efficiency
- ·
Security
- ·
Interoperability
- ·
Flexibility
The Java Virtual Machine does not give a
way to encoding type-unsafe features of typical programming languages, such as
pointers, immediate descriptors and unsafe type conversions.
It also has a lot of libraries not only for
have but for other languages, this makes it a multi-language platform.
There is a tool called CLI developed by Microsoft
that has good support for imperative and statically Oriented Object Languages.
The code created with a language compiler that targets the runtime is called
managed code. It benefits from some features like the cross-language
integration, cross-language exception handling, enhanced security, versioning
and deployment support, a simplified model for component interaction, debugging
and profiling services.
The common language runtime called CLR,
makes it easy to design components and applications whose objects interact across
languages. Also in this article we read that objects written in different
languages can communicate with each other, and their behaviors can be tightly
integrated. CLI is not the perfect multi-language platform but is way better
than java virtual machine
No hay comentarios.:
Publicar un comentario