answersLogoWhite

0

Is MSIL similar to java byte code?

Updated: 8/18/2019
User Avatar

Wiki User

11y ago

Best Answer

Yes, in some way it's similar.

One difference is that Java Bytecode is typically interpreted by the virtual machine, while MSIL is JIT-compiled to native machine code before executing. However, it is increasingly common for bytecode to be compiled as well.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is MSIL similar to java byte code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is dotnet a framework or a language?

A framework. It uses an intermediate language(called MSIL) similar to java byte code. You compiler for whatever language you like compiles to MSIL instead of x86 assembly. C#,C++, and Visual Basic are the languages typically used but there are other .NET compilers for python, ruby, etc. It is a framework and it's suports multiple languages


What is code generation?

If you're actually asking what code is generated from C++, C# and VBNET, the answer is machine code (C++) and CIL (C# and VBNET). CIL, or Common Intermediate Language, is byte-code that was formerly known as MSIL, or Microsoft Intermediate Language. CIL must be compiled to machine-code at runtime using JIT (Just in Time) compilation. This is quite similar to the way Java compiles to byte-code suitable for the Java Virtual Machine (JVM), however CIL only runs on Windows-based devices. Java runs on any device with a JVM implementation (which is pretty much everything these days).


What is BYTE Code in java?

Java byte code is the code that is output by the Java compiler. Byte code is not machine code, it must be interpreted to create the machine code. This is handled by the Java virtual machine. Pretty much every platform produced today has a Java virtual machine implementation, so the same byte code can be executed upon any machine. Byte code can be regarded as being the native language of the virtual machine, as opposed to machine code which is the native language of the physical machine.


What does the Java compiler translate Java source code to?

The Java compiler translates Java source code to Java byte code.


What is the Byte code definition?

Java compiler produces an intermediate code after compilation, understandable by JVM is called Byte Code.


What is the purpose of a byte in Java?

Java coding uses byte as one of the programming directives to clarify commands. Byte can also be used in the Java code to save memory space when the need arises.


Executon steps in java?

First of all the compiler converts our source code into byte code ,this is done by "javac" compiler.then we use interpretor that is the"java interpretor" for making our byte code executed.thats y java is called as an compiled and interpred language.by that way our java program will be interpreted. First of all our source code vl b converted into byte code by da java compiler named "javac" ,then dt byte code vl be executed by da interpretor named "java" interpretor. These are execution steps in java dts y v call java as a compiled and interpreted language.


How is java byte code is different from other low level language?

Java byte-code is the code which generate after the compilation of .java file.And this code is only understand by JVM(java virtual machine ) which understand it and execute it.In other languages this type of functionality is not available.


How java is fast?

Java is not fast. Compared to equivalent code compiled to native machine code it is extremely slow. However, it is somewhat faster than many other interpreted languages because the source code compiles to Java byte code which is suitable for interpretation by any Java virtual machine. Interpreting byte code is much quicker than interpreting source code and, unlike machine code, byte code is portable.


In the first step of the Java hybrid compilation process Java program code is converted into an intermediate format called .?

Java byte code.


Why it is not possible to execute java program on machine which does not have JVM installed on it?

when a java program is compiled it is converted into a non executable code which is byte code, and this byte code can only be interpreted by JVM. so a java program can't be executed on a machine which doesn't have JVM installed on it.


What is Java byte-code level language?

Java byte-code is the code which generate after the compilation of .java file.And this code is only understand by JVM(java virtual machine ) which understand it and execute it.In other languages this type of functionality is not available.