Home TechnologyProgrammingC++ Subscribe to RSS

What Is The Difference Between A Compiler And A Interpreter?

Answer Question

5 Answers - Sort by: Date | Rating

    A Compiler compiles all the source code at once and executes. An Interpreter interprets line by line, one line at a time and executes that line.
    2 1

    Farahkhan 

    answered 5 months ago

      A compiler is a program which takes something written in a higher level language, usually called source code, and translates it into a lower level language, usually called object code. Early pascal compilers and Java both take code written in the respective language and translate them into code which is not human readable but which is then run by an interpreter.

      An interpreter is a program which takes something written in a programing language and then runs it by executing a series of machine instructions, which are clearly defined for each word or token in the language.
      1 0

      Alon_nad 

      answered 4 months ago

        Interpreter is someone who mediates between speakers of different languages while compiler is a person who compiles information (as for reference purposes).
        0 1

        Charming 

        answered 1 year ago

        A compiler takes all the codes and executes, whereas, an interpreter executes the codes line by line.
        0 1

        Uzoma 

        answered 5 months ago

        A compiler convert the source code to machine code at once and interpreter does the same line by line
        www.soopertutorials.com
        0 1

        Adamkasi 

        answered 4 months ago

          More

             
             

            Ask a Question via Twitter

            Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

            Blurtit Store

            Get T-shirts, hoodies, caps and more at the Blurtit store

            Blurtit International