adplus-dvertising
frame-decoration

Question

What is the major drawback of interpreters?

a.

They can execute bytecode directly on the host processor, resulting in slow performance.

b.

They must translate each bytecode instruction into dozens of instructions on the physical CPU.

c.

They are unable to manage the data accessed by the bytecode program.

d.

They must separately decode and execute each instruction, resulting in slow performance.

Posted under Reverse Engineering

Answer: (d).They must separately decode and execute each instruction, resulting in slow performance. Explanation:The major drawback of interpreters is performance. Because each instruction is separately decoded and executed by a program running under the real CPU, the program ends up running significantly slower than it would if it were running directly on the host's CPU. The interpreter must carry out a lot of work to execute a single high-level bytecode instruction, which means that interpreted programs run orders of magnitude slower than their compiled counterparts.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the major drawback of interpreters?