About 534,000 results
Open links in new tab
  1. How does an interpreter/compiler work - Stack Overflow

    What is the difference between interpreter and compiler. To put it directly and intuitively: Compiler is what translates the human-readable source code into machine code which the computer could read and execute. Interpreter is what pretends to be or simulates a computer to read and execute the source code directly.

  2. Is Java a Compiled or an Interpreted programming language

    Aug 25, 2009 · Also, Google's V8 JavaScript Execution Engine doesn't just do partial just-in-time compilation. It always compiles to native code, in fact, V8 doesn't even have an interpreter. It has only the compiler (similar to Maxine, but unlike Maxine V8 has only one compiler). All three of these examples (GCJ, Maxine and V8) prove your point even more ...

  3. Compiler vs Interpreter vs Transpiler - Stack Overflow

    Aug 31, 2016 · Compiler - It acts as an interface between human and computer for converting human understanding language to machine understanding language. Types of Compiler. Native Code Compiler: The compiler used to compile a source code for same type of platform only. The output generated by this type of compiler can only be run on the same type of ...

  4. Exact difference between Compiler and Interpreter?

    Sep 6, 2010 · Compiler. A compiler generates machine-dependent assembly code which can then be assembled and linked to into the appropriate machine op-codes to allow the program to execute. This process can only be run at build time. Interpreter. An interpreter generates machine-independent code which can then be on-the-fly compiled to assembly code (e.g.

  5. What are the differences between a Just-in-Time-Compiler and an ...

    Mar 11, 2010 · The question of whether an execution engine is a compiler or an interpreter can be answered very simply by considering what happens if a routine is executed 1,000 times. If code within the execution engine will have to examine some particular representation of the code 1,000 times, the execution engine is an interpreter of that representation.

  6. Why is an interpreter slower than a compiler in practice?

    Nov 3, 2011 · A compiler is basically clear - it translates a program form the source language to the target language. Both languages can be whatever - high level language, virtual machine bytecode, machine code. An interpreter, on the other hand does not perform a translation , but directly performs the actions, prescribed by the source language construct ...

  7. Is Python interpreted, or compiled, or both? - Stack Overflow

    Now let's talk a little bit about the role of Just-In-Time compiler in Java and Python. In JVM the Java Interpreter exists which interprets the bytecode line by line to get the native machine code for execution purpose but when Java bytecode is executed by an interpreter, the execution will always be slower.

  8. java - Is the JVM a compiler or an interpreter? - Stack Overflow

    Oct 6, 2011 · JIT is a Java compiler but also acts as an interpreter. A typical compiler will convert all the code at once from source code to machine level language. Instead, JIT goes line by line (line by line execution is a feature of Interpreters) and converts bytecode generated by JavaC into machine level language and executes it.

  9. Java compiler/interpreter - Stack Overflow

    Jan 24, 2018 · However, the interpreter (the JVM) operates on an intermediate form known as byte code rather than on the raw source files. This byte code is generated at compile time by the Java compiler. Therefore, Java is also a compiled language.

  10. Compiled vs. Interpreted Languages - Stack Overflow

    Jul 16, 2010 · A compiler and an interpreter do the same job: translating a programming language to another programming language, usually closer to the hardware, often direct executable machine code. Traditionally, "compiled" means that this translation happens all in one go, is done by a developer, and the resulting executable is distributed to users.

Refresh