Interpreter VS Complier

2022. 4. 1. 23:26Coding - C

Complier and Interpreter are both sequences that translates our language to and grammer to their language. However, they have different methods in translations. 

Complier runs every code at once, as they create a file in the computer that stores the translated langauge. That is why they need a lot of memory, and short time compared to the interpreter.

Interpreter runs code one by one line (called script language). They don't need to create a file as it is translated one by one, and takes long time compared to the complier. The Jupyter Notebook uses the interpreter's method very well.

Variables are areas to store information, which can be used to call for later use. It is stored somewhere in the computer, and we can always change or overwrite the value. However, we cannot declare a existing built-in function that is already inputted in the language. 

 

The Built-in functions are different by each coding language. However, they are quite similar functions. In python, they are len (length), type (data type), pow, print, etc. 

 

Data types in codign languages are very similar: They are usually int, char, bool, string, etc. The operators are usually similar too, / for division, * for multiplication, +, _, and %, which is modulus, for giving us the leftover value after division. 

'Coding - C' 카테고리의 다른 글

Data Types and Operators  (0) 2022.05.07
Kernel and the C  (0) 2022.04.22
Binary Notation & Conversion, Bits and Bytes  (0) 2022.04.15
C Foundation Review  (0) 2022.04.08
Before Coding...  (0) 2022.03.12