What is the difference between a compiler and an interpreter?
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
They are both similar as they achieve similar purposes, but inherently different as to how they achieve that purpose. Compiled code takes programs (source) written in some kind of programming language, and then ultimately translates it into object code or machine language. Compiled code does the work much more efficiently, because it produces a complete machine language program, which can then be executed. The interpreter translates instructions one at a time, and then executes those instructions immediately. The compiler is itself a computer program written usually in some implementation language.
Dig Deeper on Linux servers
Related Q&A from Kenneth Milberg
Making sure that your PaaS offering and the web development framework of your choice agree can be tricky. Learn how to choose the best framework for ...continue reading
Get started with exploring these PaaS offerings: AWS Elastic Beanstalk, Google App Engine and Microsoft Azure. An IT veteran summarizes their pros ...continue reading
What's more risky: developing cross-platform or native mobile apps? One expert chooses sides in the native vs. non-native/cross-platform mobile apps ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.