Pantech E Learning
11.7K subscribers
150 photos
4 files
813 links
Download Telegram
Interpreter Vs Compiler : Differences Between Interpreter and Compiler
We generally write a computer program using a high-level language. A high-level language is one that is understandable by us, humans. This is called source code.
However, a computer does not understand high-level language. It only understands the program written in 0's and 1's in binary, called the machine code.

To convert source code into machine code, we use either a compiler or an interpreter.

Both compilers and interpreters are used to convert a program written in a high-level language into machine code understood by computers. However, there are differences between how an interpreter and a compiler works.
Interpreter Vs Compiler
Interpreter
*Translates program one statement at a time.
*Interpreters usually take less amount of time to analyze the source code. However, the overall execution time is comparatively slower than compilers.
*No Object Code is generated, hence are memory efficient.
*Programming languages like JavaScript, Python, Ruby use interpreters.
Compiler
*Scans the entire program and translates it as a whole into machine code.
*Compilers usually take a large amount of time to analyze the source code. However, the overall execution time is comparatively faster than interpreters.
*Generates Object Code which further requires linking, hence requires more memory.
*Programming languages like C, C++, Java use compilers.
@pantechelearning
#pantechelearning
Any queries regarding major and mini projects contact 📞 us:
WhatsApp us:+91 8925533483/82
Website:www.pantechelearning.com.
.
....
.
.
.
.
.
.
.
.
#pantechelearning #interpreter #translator #translation #penerjemah #interpreting #english #interpreters #conferenceinterpreter #language #interpretation#compiler #programming #programmingmemes #coding #javadeveloper #programmerhumor #developerlife #algorithm #codingmemes #computerscience #developer #cplusplus #compilation #technology #programmercoderlife #clanguage #developers #github #programmerlife
https://www.instagram.com/p/CPgCIXBFAIt/?utm_medium=share_sheet