answersLogoWhite

0

Interpretive languages compile blocks of code into machine code, execute them, and then move onto the next block. The blocks may be as little as a single statement, but once each statement is executed, the machine code is lost. This means that functions must be recompiled every time they are called. Ultimately, performance suffers because every block must be interpreted before it can be executed. Moreover, the program must always be executed within the interpreter; you cannot create standalone programs.

Compiled languages pre-compile the entire program to produce a standalone machine code executable. As a result, compiled programs execute many times faster than interpretive languages.

C++ and Java are both compiled languages however Java programs are compiled to byte code rather than machine code. The byte code must then be interpreted by the Java virtual machine in order to execute. As a result of this interpretation, Java programs do not perform well compared to equivalent programs written in C++.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What has the author I Craig written?

I. Craig has written: 'Programming in Dylan' -- subject(s): Dylan (Computer program language) 'The interpretation of object-oriented programming languages' -- subject(s): Object-oriented programming (Computer science)


What is the difference between declarative and imperative programming?

Imperative is how the computer should do something. Declarative is what you would like the computer to do.


What is the difference between java and internet?

The Internet is a world-wide computer network. Java is a computer programming language.


What is the difference between online and offline programming?

Online programming is programming that has to occur while the computer or other device is connected to the internet. Offline programming doe not require an internet connection.


What is the difference between a bug and an error?

"Bug" means "error" in Computer Programming. So it means they're exactly the same.


What is the difference between coding and programming?

Coding is more general -- there are many kinds of codes and different reasons for them. However, when it comes to computer slang, there is no difference between coding and programming.


Difference between blank space and white space?

In computer programming, these two terms are interchangeable.


What is the difference between if conditions and if else condtion in computer programming with c?

The lack or presence of the else-part.


Difference of hardware and software?

Hardware is the equipment, everything on the computer that actually exists, everything you can see and touch. Software is the programs on the computer, it is the programming, the instructions which tell computer what to do.


What is the role of a compiler in computer programming and how does it translate high-level programming languages into machine code?

A compiler is a software tool that translates high-level programming languages, like Java or C, into machine code that a computer can understand and execute. It does this by analyzing the code, checking for errors, and converting it into a series of instructions that the computer's processor can directly execute. This process is called compilation, and it allows programmers to write code in a more human-readable format while still being able to run it on a computer.


What is the meaning of ABC in computer?

what is the meaning of ic in computer


Advantages of computer programming?

The advantages of computer programming is that it pays well since programming is a creative task. Computer programming helps human beings solve problems on a regular basis.