answersLogoWhite

0

How does VM code compiler works?

User Avatar

Anonymous

7y ago
Updated: 8/21/2019

The Java virtual machine is not a compiler, it is an interpreter which primarily performs runtime-translation of Java byte code (the native language of the Java virtual machine) to machine-code (the native language of the physical machine).

The Java compiler, on the other hand, is a separate program used to perform compile-time conversion of high-level Java source code to the lower level byte code. Java byte code is highly portable; once compiled, any architecture or platform that implements a JVM can execute the byte code without modification.

User Avatar

Wiki User

7y ago

What else can I help you with?

Related Questions

Which compiler compiles the IL code to native code?

Just-In-Time compiler


What does a compiler allow us to do?

A compiler converts programming code into computer code that a computer can read.


Are programs that translate the source code to object code?

False. A compiler converts source code into object code.


What is bliss compiler?

A bliss compiler compiles Bliss source into Bliss object code which is a step in executing macdine code written by the Bliss compiler.


What are th o antholiges?

They are a short collection of works by a compiler. These often pertain to a theme or are just the compiler's favorite works.


What is role of compiler?

It coverts your source code into machine code so the computer can execute it.


What is the difference between java compiler and C compiler?

Greetings Technologist. The Java compiler compiles Java code, whereas the C compiler compiles C Code HTH Richard Wolf Software Architect


What is use of compiler in c?

The compiler translates source code into machine code. As opposed to java, this is a machine specific operation.


What is compiler in computer programming?

A compiler is a program that translates high-level source code into low-level machine code.


What does the Java compiler translate Java source code to?

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


With the aid of a diagram illustrate how the c plus plus compiler works?

With the aid of a diagram,illustrate how the c plus plus compiler works?


What does building the compiler exactly means how does this differs from installing the compiler in perspective of GCC?

Installing a compiler, not just the gcc compiler, is a process where you copy the various executable files to the installation directory, where you copy the various header files to the include directory, where you copy the various library files to the lib directory, in short, where you install the compiler program and configure it so that it can do its work, namely to compile programs. This is no different than installing any other program, such as the game Myst. Building a compiler, on the other hand, is the process where you use a compiler, or other tools, to compile a set of programs that represents the compiler. If this sounds circular, consider this... The game Myst is a program. You install it in order to play it. When you run it, you load and run the executable code that represents Myst. It also has source code, though you probably can not get a copy of that source code. You build Myst by compiling the source code into object code, and then linking an executable from that object code. Building a compiler is no different. It is a program. It has source code. You build it by compiling the source code into object code, and then linking an executable from that object code. When you do this to a compiler, however, you need to distinguish between the compiler that you are building and the compiler that you are using to build the compiler. Sometimes, the compiler is used to compile a new version of itself, in a different directory. Sometimes, a different compiler is used, such as using a simplified version of C to compile a C++ compiler.