Question

Programming Languages Explain why Java is a compilation implementation and not hybrid. Are there any hybrid...

Programming Languages

Explain why Java is a compilation implementation and not hybrid. Are there any hybrid systems left? Explain how you arrived at your answer

Homework Answers

Answer #1

Hybrid implementations are somewhere between compilers and interpreters. They convert high level programs to an intermediate language which is then interpreted.

Java actually used to be a hybrid language. A Java program was first compiled into byte code by the Javac compiler. This provided portability as any system with a byte code interpreter could execute the code. The byte code was typically interpreted and run by the Java Virtual Machine.

But newer versions of Java are purely compilation based. The Java Virtual Machine now uses a Just-in-time (JIT) implementation, which compiles the byte code into machine code during run time.

So Java is now a compilation implementation and not hybrid.

Hybrid systems are becoming rare but Perl 5 is still implemented with a hybrid system. But with the release of Perl 6 this year it will too stop being a hybrid implemented.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Why is it important to study the implementation of programming languages?
Why is it important to study the implementation of programming languages?
QUESTION 1 1.   Which programming languages do not have iteration statements and why?        Imperative...
QUESTION 1 1.   Which programming languages do not have iteration statements and why?        Imperative programming languages require recursion to do anything iteratively        Object-Oriented Programming languages do not use iteration since functions operate over data structures.        Functional programming languages since they do not use variables and counting loops require variables.        Functional programming languages do not have variables and iteration requires variables to operate. QUESTION 2 1.   One of the downsides of using expressions...
QUESTION 6 1.   Why are strings usually primitive (or near-primitive) in modern programming languages?       ...
QUESTION 6 1.   Why are strings usually primitive (or near-primitive) in modern programming languages?        readability        readability and writeability        efficiency        readability, writeability, and efficiency QUESTION 7 1.   There are two main problems with pointers:        dangling pointers & memory leaks        marked sweep and memory leaks        dangling pointers & tombstones        reference counters and marked sweep QUESTION 8 1.   Which of the following implementations of arrays can grow?...
JAVA use the concepts in concurrent programming to write a basic multi-threaded program. You will be...
JAVA use the concepts in concurrent programming to write a basic multi-threaded program. You will be creating a program that simulates the sound of soldiers marching: “Left, Left, Left, Right, Left”. You will need one class to print “Left” and one to print “Right”, as well as a class to drive the program. LeftThread.java public class LeftThread extends Thread { public void run() { for(int i = 0; i < 10; i++) { //TODO: Print "Left" //TODO: Print "Left" //TODO:...
The strategic plan addresses the what and why of activities, but implementation addresses the who, where,...
The strategic plan addresses the what and why of activities, but implementation addresses the who, where, when, and how. Do you agree? If so please explain.
1. Most database applications require a host programming language to communicate with the database using SQL....
1. Most database applications require a host programming language to communicate with the database using SQL. A wide range of programming languages can be used with SQL,from traditional languages such as COBOL, FORTRAN, and Assembler to more modern languages such as C/C++, Java, and Visual Basic. Your choice of host programming language can impact the way you will have to code SQL. True or False? 2. It is an entity name guideline: a. Do not pluralize the name; use singular...
IN JAVA!! You may be working with a programming language that has arrays, but not nodes....
IN JAVA!! You may be working with a programming language that has arrays, but not nodes. In this case you will need to save your BST in a two dimensional array. In this lab you will write a program to create a BST modelled as a two-dimensional array. The output from your program will be a two-dimensional array.   THEN: practice creating another array-based BST using integers of your choice. Once you have figured out your algorithm you will be able...
Write code in java Implement a method to build an AVL tree out of a sorted...
Write code in java Implement a method to build an AVL tree out of a sorted (ascending order) array of unique integers, with the fastest possible big O running time. You may implement private helper methods as necessary. If your code builds a tree that is other than an AVL tree, you will not get any credit. If your code builds an AVL tree, but is not the fastest big O implementation, you will get at most 12 points. You...
It is generally accepted that predatory pricing is contentious with respect to policy implementation. A) Describe...
It is generally accepted that predatory pricing is contentious with respect to policy implementation. A) Describe the historical policy approach(es) to predatory pricing, then describe how tests for predation have evolved. B) Explain why there is no generally accepted test(s) for predatory pricing. In your explanation, describe the characteristics of predation that contribute to the nonconvergence (between jurisdictions) of policy enforcement. C) Describe some of the proposed tests for predation. Do you endorse the use of any tests? Why or...
Why some left or right joins can result in null records. Explain how and why that...
Why some left or right joins can result in null records. Explain how and why that might occur and what that would tell us, use a diagram (any type of visual explanation) to complement your explanation
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT