What is considered a large disadvantage of interpreted programming as compared to compiled languages

Compiled languages are highly efficient in terms of processing requirements because they don’t require the extra power consumed by an interpreter. As a result, they can reliably run very quickly with minimal interruptions and use less of the computer’s resources in the process. However, when a programmer wants to update software written in a compiled language, the entire program needs to be edited, re-compiled, and re-launched.

Let’s return to the baking analogy. Imagine a translator had just compiled the entire chocolate cake recipe with multiple steps, only to find out that you (the programmer) discovered a new process for making one component a day later. Unfortunately, you only speak and write Urdu, and the entire recipe and process hinge on the new component. Not only must you write the entire recipe again, but the translator (compiler) needs to perform the entire process again too.

Now picture the same scenario with an interpreted language. Because the interpreter is present the entire time your friend is baking, you can very easily tell the interpreter to ask your friend to stop for a moment. You can then rewrite the new portion of the procedure yourself, edit the affected components of the recipe, and tell the interpreter to resume the process with the newly implemented procedure. Even though the process is less efficient with the interpreter, editing the instructions (program) is much simpler.

However, imagine you had a time-tested recipe for something like apple pie. Your grandparents’ grandparents passed it down to you, and it hadn’t changed in over a century. The recipe is perfect, and to add to it would do it a disservice. In this scenario, a compiled language is king. Your friend (the computer) could confidently read and carry out the instructions (program) in the most efficient way possible until the end of time without the need for disruptive iterations.

In the real world, compiled languages are preferred for computing-intensive software that requires heavy resource usage or in a distributed system where optimal performance from the processor is a key factor. Interpreted languages are preferred for less computing-intensive applications where the CPU isn’t a bottleneck, such as user interfaces. Another use case for interpreted languages was server-side development before the introduction of containers. Because the processor spent most of its time waiting for requests or replies from the database, sub-optimal performance from the processor wasn’t a concern.

Recommended textbook solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Information Technology Project Management: Providing Measurable Organizational Value

5th EditionJack T. Marchewka

346 solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Fundamentals of Database Systems

7th EditionRamez Elmasri, Shamkant B. Navathe

687 solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Service Management: Operations, Strategy, and Information Technology

7th EditionJames Fitzsimmons, Mona Fitzsimmons

103 solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Starting Out with C++ from Control Structures to Objects

8th EditionGodfrey Muganda, Judy Walters, Tony Gaddis

1,294 solutions

Recommended textbook solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Introduction to Algorithms

3rd EditionCharles E. Leiserson, Clifford Stein, Ronald L. Rivest, Thomas H. Cormen

720 solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Service Management: Operations, Strategy, and Information Technology

7th EditionJames Fitzsimmons, Mona Fitzsimmons

103 solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Information Technology Project Management: Providing Measurable Organizational Value

5th EditionJack T. Marchewka

346 solutions

What is considered a large disadvantage of interpreted programming as compared to compiled languages

Information Technology Project Management: Providing Measurable Organizational Value

5th EditionJack T. Marchewka

346 solutions

What is considered a large disadvantage of interpreted programming?

Any computer that has the appropriate interpreter installed may run the program more or less unchanged. This is a disadvantage as well, because the program will not run at all if the interpreter is not available. In general, interpreted programs are slower than compiled programs, but are easier to debug and revise.

What is a disadvantage of a compiled program compared to an interpreted language?

Disadvantages of compiled languages Additional time needed to complete the entire compilation step before testing. Platform dependence of the generated binary code.

What is the disadvantage of interpreted language?

Disadvantages of Interpreted Languages An interpreter is needed in the local machine to run the program. Executing the program in an interpreter is less efficient than regular program execution. An interpreted language is less secure. Unlike compiled languages, the interpreter does not have an executable file.

What are the disadvantages of a interpreter?

Disadvantages of Interpreter.
Slower → Interpreter is often slower than compiler as it reads, analyzes and converts the code line by line..
Dependencies file required → A client or anyone with the shared source code needs to have an interpreter installed in their system, in order to execute the code..