Total Pageviews

February 15, 2012

Compiler verses Interpreter:


Compiler
1.      A compiled program will almost run faster than an interpreted program.
2.      The object program (the machine code generated by the compiler) may be saved on disk and run as many times as required without being recompiled.
3.      A compiler can give more helpful error messages: if, for example, a keyword (reserved word) is misspell all through the program, an interpreter will only find the first instance, whereas a compiler will list them all.
4.      A compiler will check the syntax of the entire program, whereas an interpreter will only check the syntax of the statements that are executed during that particular run of the program. Certain branches of the program may therefore not be checked until very thorough testing takes place.
5.      Commercially produced software can be sold in the form of object code, thus preventing purchasers’ from listing the source code or making modifications to it.

Interpreter:
1.      Interpreters are very convenient for program development, since making modifications does not mean that the whole program has to be reloaded and recompiled, which can take a considerable time. Many interpreters will allow a program to run up to the point where an error occurs, let the programmer fix the error and then continue to run the program form that point.
2.      An interpreter is simpler to write and is usually cheaper to buy than a compiler.

6 comments:

  1. Great! We will be connecting to this enormous post on our site. Continue the good writing.
    best website for it company

    ReplyDelete
  2. They were a valuable resource, and continue to be available for support.
    developing a logo

    ReplyDelete
  3. They are very responsive, helpful, and take the time to truly understand what our specific needs were.
    branding and marketing agency

    ReplyDelete
  4. They're an accessible group with a highly flexible working style. They accommodated longer working hours without any issues.
    design agencies

    ReplyDelete
  5. The writer understand better the mind of people what they want to learn through their writing therefore this article is outstanding. Thanks!!!
    top UX designers

    ReplyDelete
  6. I love this blog because it is user friendly with appreciative information.
    best UX agency

    ReplyDelete