Skip to main content
Question Protected by gnat
fix layout
Source Link
Kilian Foth
  • 110.3k
  • 45
  • 300
  • 321

While reading the difference between Compiler and interpreter , I found the following differences fromt he internet.

Advantages of using compiler:-
      Since compiler converts the program to native code of the target machine
      (object code), faster performance can be expected.
      There is a scope for code optimisation.  
Advantages of using interpreter:-
      Process of execution can be done in a single stage. There is no need of a
      compilation stage.
      Alteration of codes possible during runtime.
      Really useful for debugging the codes (because source code execution
      can be analyzed in an IDE)
      Facilitates interactive code development.

Advantages of using compiler:

  • Since compiler converts the program to native code of the target machine (object code), faster performance can be expected.
  • There is a scope for code optimisation.

Advantages of using interpreter:

  • Process of execution can be done in a single stage. There is no need of a compilation stage.
  • Alteration of codes possible during runtime.
  • Really useful for debugging the codes (because source code execution can be analyzed in an IDE)
  • Facilitates interactive code development.

In case of interpreter  , stated as interpreter "there is a possibility of alter the code" and

In case of compiler "code optimization will be there"

Can anyone explain these 2 points ?

While reading the difference between Compiler and interpreter , I found the following differences fromt he internet.

Advantages of using compiler:-
      Since compiler converts the program to native code of the target machine
      (object code), faster performance can be expected.
      There is a scope for code optimisation.  
Advantages of using interpreter:-
      Process of execution can be done in a single stage. There is no need of a
      compilation stage.
      Alteration of codes possible during runtime.
      Really useful for debugging the codes (because source code execution
      can be analyzed in an IDE)
      Facilitates interactive code development.

In case of interpreter  , stated as interpreter "there is a possibility of alter the code" and

In case of compiler "code optimization will be there"

Can anyone explain these 2 points ?

While reading the difference between Compiler and interpreter , I found the following differences fromt he internet.

Advantages of using compiler:

  • Since compiler converts the program to native code of the target machine (object code), faster performance can be expected.
  • There is a scope for code optimisation.

Advantages of using interpreter:

  • Process of execution can be done in a single stage. There is no need of a compilation stage.
  • Alteration of codes possible during runtime.
  • Really useful for debugging the codes (because source code execution can be analyzed in an IDE)
  • Facilitates interactive code development.

In case of interpreter, stated as interpreter "there is a possibility of alter the code" and

In case of compiler "code optimization will be there"

Can anyone explain these 2 points ?

Source Link
user2720323
  • 981
  • 3
  • 12
  • 11

How to alter the code at runtime in an interpreter?

While reading the difference between Compiler and interpreter , I found the following differences fromt he internet.

Advantages of using compiler:-
      Since compiler converts the program to native code of the target machine
      (object code), faster performance can be expected.
      There is a scope for code optimisation.  
Advantages of using interpreter:-
      Process of execution can be done in a single stage. There is no need of a
      compilation stage.
      Alteration of codes possible during runtime.
      Really useful for debugging the codes (because source code execution
      can be analyzed in an IDE)
      Facilitates interactive code development.

In case of interpreter , stated as interpreter "there is a possibility of alter the code" and

In case of compiler "code optimization will be there"

Can anyone explain these 2 points ?