Computer Science, asked by naveenk98010, 1 year ago

Advantage and disadvantage of single pass and multipass compiler

Answers

Answered by khanruhi905
5

Disadvantages. One-pass compilers are unable to generate as efficient programs as multi-pass compilers due to the limited scope of available information. ... Some require passes over an entire program. Some programming languages simply cannot be compiled in a single pass

Answered by adityamaurya5210
2

Single pass Compiler :

Advantage:  More efficient than multi pass compilers in the compiler phase.

Disadvantage:   Produces less efficient programs.

Multi pass Compiler :

Advantages:   Can be useful when optimizing code.

Disadvantages:   Slower at compile time

Similar questions