answersLogoWhite

0

A compiled language is written and then run through a compiler which checks its syntax and compresses it into a binary executable. Since an interpreted language is not compiled, it must be checked for errors at run-time, which makes it quite a bit slower than a compiled language (like C or Java). Perl is an example of an interpreted language. Remember, though, that just because a language is interpreted doesn't necessarily mean it is not full-featured, or simplistic. Perl can get very complex and very cryptic, very quickly.

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

What is the difference between interpreted and parsed?

Interpreted means - normally - the code is interpreted at run-time, while parsed (actually, it's "compiled") means the code is translated to a native object file at compile-time, and then executed. Compiled code is usually faster, also.


What is the Difference between verilog and vhdl language?

C is a high level language that is compiled into machine language for specific system. The system implements some sort of state machine that can process the compiled machine language. In VHDL you have to design the statemachine itself. Furthermore VHDL is compiled into logic primitives that could be built by logic gates which itself could be realized with transistors. C is a programming language. VHDL is a hardware description language.


Difference between high level language and script language?

There is no real difference; a scripting language is a programming language like any other. We use the term script to infer a programming language that does not need to be compiled to a lower-level code before running. Generally speaking, a scripting language is usually a high-level, interpreted programming language.


What is difference between compiled code and uncompiled code?

Probably that one is compile and the other isn't. - A programmer writes a computer program in a programming language that is more or less readable - at least to the programmer. This is called the "source code". This is then converted (compiled) into the so-called "machine language". The machine language can't be read by a human, unless a lot of effort is devoted to decoding it - but it is what the computer is designed to run.


What function does an interpreter perform with the instructions in a high level programming language?

All programming languages need to be converted to machine code. Machine code is the native language of the machine; it is the only language understood by the machine. When we write programs in other languages they must be translated into machine code. To achieve that, we need to write a program to perform the translation for us. For this we can either use an assembler, a compiler or an interpreter, all of which are machine code programs. Assemblers can only be used with assembly languages, which are low-level symbolic languages that translate near 1:1 with the machine code. The machine code can be saved and executed without further translation. However, assembly languages are not portable; each machine architecture has its own specific version of machine code and therefore requires its own specific assemblers to produce it. To port the code to another architecture you essentially have to re-write the entire source code. There are tools (pre-processors) that can help make the task easier but it's by no means a straightforward process. [The reverse of assembling is disassembling, which converts machine code into a low-level language that is similar to assembly but is known as disassembly. However, since an assembler strips out all variable names and user comments, a disassembler cannot restore the original assembly language code. Indeed it is impossible to restore the original source code no matter what language was used. Disassembly is as good as it gets.] All high-level languages are either compiled or interpreted or are both compiled and interpreted. Compiled languages compile the entire source code into machine code, much like assembly language but with a higher level of abstraction between the source and the machine code. As with assembly languages, the machine code can be saved and executed without any further translation. Being more abstract, compiled languages are much easier to port to other architectures than assembly languages. However they must still be compiled separately upon each architecture. The most popular examples of compiled languages are C and C++. Interpreted languages do not translate the entire source code, they step through the source code one statement at a time, converting each statement to machine code and executing it before moving onto the next statement. This has the advantage over compiled languages in that you do not have to wait for the entire program to compile before executing the program. A compiled language program can take several minutes to compile, whereas an interpreted language can be executed immediately. However, the need to interpret every statement before executing it incurs a performance penalty. With compiled languages, you only pay the cost during compilation; once compiled, you do not need the compiler. Interpreted languages cannot execute without the interpreter, but any machine that has a suitable interpreter can execute the same source code regardless of which machine architecture it was written on. The most popular interpreted language is BASIC since it is the language most programmers learn before moving onto other languages. Languages that are both compiled and interpreted use a compiler to produce an intermediate source known as byte code. Byte code is not machine code, it still has to be interpreted, however the byte code "statements" are much simpler to interpret than an interpreted language's statements thus it performs much better. Also, unlike compiled languages, the compiled byte code is highly portable. The best example of such a language is Java which compiles to Java byte code suitable for interpretation by the Java virtual machine (JVM). Given that virtually all platforms provide a JVM implementation, it's no surprise that Java is by far the most popular application programming language in use today. However, it's lack of low-level features limits its usefulness in non-application fields such as driver software, operating system kernels and embedded systems software. Its performance and memory consumption also leaves a lot to be desired, however it's ease-of-use makes it a good stepping stone to learning C++.

Related Questions

What is the difference between interpreted and parsed?

Interpreted means - normally - the code is interpreted at run-time, while parsed (actually, it's "compiled") means the code is translated to a native object file at compile-time, and then executed. Compiled code is usually faster, also.


Whats the difference between a net programming language and a normal one?

A .Net programming language is compiled not into machine language but "IL", or "Intermediate Language." This "IL" is then run against the .Net runtime and is "Just In Time" compiled into machine language to run the actual operations. Contrast that with a "Normal" one, where the compiler turns the code into the machine language of the target instruction set.


What and the Difference Between ASP.NET and MVC?

Asp.net system is a part of a .net platform for building, deploying and running web applications. We can build up a web application by using both Asp.Net Web Form and Asp.Net MVC. In this article, I will uncover the principal difference between Asp.Net Web Form and Asp.Net MVC.We will discuss some important differences that will help you make a right choice between both of them. Let's take a look each of the differences in more detail. Difference between Asp.Net MVC and Web Forms:Our Company: Binary Informatics


What is the Difference between verilog and vhdl language?

C is a high level language that is compiled into machine language for specific system. The system implements some sort of state machine that can process the compiled machine language. In VHDL you have to design the statemachine itself. Furthermore VHDL is compiled into logic primitives that could be built by logic gates which itself could be realized with transistors. C is a programming language. VHDL is a hardware description language.


Difference between high level language and script language?

There is no real difference; a scripting language is a programming language like any other. We use the term script to infer a programming language that does not need to be compiled to a lower-level code before running. Generally speaking, a scripting language is usually a high-level, interpreted programming language.


Why is PHP considered a scripting language instead of programming?

The difference between "scripting" and "programming" is largely one of semantics; they're essentially the same thing. A purist is more likely to call writing in a usually interpreted language (such as PHP) "scripting" and writing in a usually compiled language (such as C) "programming". But either way, you're writing a set of instructions for the computer to follow, and some "scripts" can be as (or more) complicated than many "programs."


WHAT IS THE DIFFERENCE BETWEEN LANGUAGE AND COMMUNICATION I NEED RARE ANSWERS ONLY?

what is the difference between speech,language and communication??There is a huge difference between language and communication


What is the difference between static and dynamic programming?

in static programming properties, methods and object have to be declared first, while in dynamic programming they can be created at runtime. This is usually due to the fact that the dynamic programming language is an interpreted language.


What is difference between compiled code and uncompiled code?

Probably that one is compile and the other isn't. - A programmer writes a computer program in a programming language that is more or less readable - at least to the programmer. This is called the "source code". This is then converted (compiled) into the so-called "machine language". The machine language can't be read by a human, unless a lot of effort is devoted to decoding it - but it is what the computer is designed to run.


What is the difference between a baloch and brohi?

there is between language


What is the difference between ASP.net and ASP?

The main difference between ASP and ASP.Net is that ASP is interpreted whereas, ASP.NET is compiled. This implies that since ASP uses VBScript; therefore, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses.NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language. Below some other difference are given. 1. Classic ASP uses a technology called ADO to connect and work with databases. ASP.NET uses the ADO.NET technology. 2. ASP has Mixed HTML and coding logic where in asp.net html and coding part are separated by code behind files. 3. ASP.NET purely object oriented whereas ASP is partially object oriented. 4. For ASP No in-built support for XML whereas in ASP.NET full XML Support for easy data exchange. I think above details help you a lot. I hosted my website at Asp.net hosting of Mywindowshosting.com.


What are the differences between urdu and English language?

wht is the basic difference between English language with urdu language