Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

difference between compiler and interpreter

KEY DIFFERENCE

1. Compiler transforms code written in a high-level programming language into 
the machine code, at once, before program runs, whereas an Interpreter converts
each high-level program statement, one by one, into the machine code, during 
program run.

2. Compiled code runs faster while interpreted code runs slower.

3. Compiler displays all errors after compilation, on the other hand, 
the Interpreter displays errors of each line one by one.

4. Compiler is based on translation linking-loading model, 
whereas Interpreter is based on Interpretation Method.

5. Compiler takes an entire program whereas the Interpreter takes a single 
line of code.
Comment

PREVIOUS NEXT
Code Example
Python :: python datetime weekday 
Python :: select certain element from ndarray python 
Python :: how to get only certain columns in pandas 
Python :: get int64 column pandas 
Python :: python optionmenu tkinter 
Python :: python get dictionary keys 
Python :: python regex search group 
Python :: python fill 0 
Python :: pyautogui color 
Python :: pandas dataframe from tsv 
Python :: python get memory address of variable 
Python :: pangram function 
Python :: numpy flatten 
Python :: python remove all unicode from string 
Python :: ursina python 
Python :: self.app = Tk() 
Python :: pandas read first column as index 
Python :: np.zeros data type not understood 
Python :: how to find magnitude of complex number in python 
Python :: reverse geocoding python 
Python :: password generator in python 
Python :: create a list of a certain length python 
Python :: is power of python recursion 
Python :: cool things to do with python 
Python :: webbrowser python 
Python :: lag function in pandas 
Python :: Palindrome Check using for loop in python 
Python :: how to use google sheet link in pandas dataframe 
Python :: linking custom CSS in flask 
Python :: pyttsx3 set volume 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =