භාෂා සම්පාදකවල (Compilers) හා අර්ථ වින්යාසකවල(Interpreters) මූලික කාර්යය කුමක්දැයි දක්වා, ඒවා භාවිතයේදී ලැබෙන වාසි සහ අවාසි සන්සන්දනය කරන්න.
Compiler vs Interpreter
Both basically serve the same purpose.
Convert one level of language to another level.
Compiler converts the high level instructions into machine language.
Interpreter converts the high level instruction into an intermediate form, and the instructions are executed.
Compiler
Convert to binary form understood by the computer.
The complier programs are evolving in this way which improves their ease of use.
Compliers can be multiple or multistage pass. The first pass can convert the high level language into a language that is closer to computer language. Then the further passes can convert it into final stage for the purpose of execution.
The advantage of using an interpreter is that the high level instruction does not goes through compilation stage which can be a time consuming method.
Almost all high level programming languages have compilers and interpreters.
Difference between compiler and interpreter
• A complier converts the high level instruction into machine language
• Interpreter converts the high level instruction into an intermediate form.
• Before execution, entire program is executed by the compiler
interpreter translates a line then executes it and so on.
• List of errors is created by the compiler after the compilation process
• interpreter stops translating after the first error.
• Compiler creates an independent executable file
• interpreter is required by an interpreted program each time.
Assembler
Dual Purpose
Java
C++
Python
VB
ASP.NET
Interpreter
PHP
ASP
Java Script
kayseriescortu.com - alacam.org - xescortun.com
ReplyDeletemaltepe daikin klima servisi
ReplyDeleteümraniye toshiba klima servisi
pendik alarko carrier klima servisi
pendik daikin klima servisi
tuzla toshiba klima servisi
üsküdar mitsubishi klima servisi
pendik vestel klima servisi
beykoz alarko carrier klima servisi
üsküdar alarko carrier klima servisi