Results 1 to 3 of 3

Thread: Difference between compiler and interpreter

  1. #1
    PowellParker is offline Senior Member
    Join Date
    Dec 2009
    Posts
    210
    Rep Power
    4

    Default Difference between compiler and interpreter

    Hi. I am new in forum. I am last year MBA (IT) student. In my syllabus I have complier subject is there. I want to know about difference between compiler and interpreter? Give any one example that used as an Interpreter? give me some proper solution for that. Thanks in advanced.

  2. #2
    PerrySullivan is offline Senior Member
    Join Date
    Dec 2009
    Posts
    209
    Rep Power
    4

    Default

    Here is the difference between compiler and interpreter:

    Complier

    • Compiler checks syntax of program

    • Compiler checks at a time the entire program

    • Program execution is fast

    • Compiler takes entire program at a time and executes it.

    Interpreter

    • Interpreter checks the keywords of a program.

    • Interpreter checks simultaneously in the editor.

    • Program execution is quite slow.

    • Interpreter executes the program line by line

  3. #3
    RussellBarnes is offline Senior Member
    Join Date
    Dec 2009
    Posts
    214
    Rep Power
    4

    Default

    A compiler first takes in the whole program, verify all errors, compiles it and after that executes it. While interpreter does this line by line, checks it for errors and after that executes it.

Similar Threads

  1. C# compiler used for Linux
    By PerryCollins in forum Linux/Free BSD
    Replies: 1
    Last Post: 05-18-2010, 06:04 PM
  2. C# compiler used for Linux
    By DavisMartin in forum Programming
    Replies: 2
    Last Post: 05-15-2010, 04:11 PM
  3. How to put in a Java Compiler
    By Millerjames in forum Programming
    Replies: 0
    Last Post: 05-06-2010, 03:39 PM
  4. Missing command interpreter
    By adny22 in forum Everything Else
    Replies: 4
    Last Post: 04-09-2009, 12:07 PM
  5. FreeBASIC compiler
    By inriteck in forum Programming
    Replies: 0
    Last Post: 08-01-2008, 07:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48