#CompilerLanguages
Explore tagged Tumblr posts
Text
Difference between compiler and interpreter
Programs that are used to translate one language into another are categorized as interpreters and compilers, respectively. Here is the same Difference between compiler and interpreter. Code written in one programming language is converted into code written in another language using a computer program known as an interpreter. Examples: Python, JavaScript, Ruby, PHP, etc., use interpreters. Converts it into machine code that the computer can directly understand and execute. Examples: C, C++, Java, Go, Rust, etc., use compilers. By using an interpreter or compiler, we can gain a better understanding of a foreign language and communicate more effectively with the people we meet. Compilers translate the entire source code before execution, creating a separate output file, whereas interpreters translate and execute the code line-by-line during runtime without any separate output file. We communicate with computers using high-level programming languages.
0 notes