Answers for "interpret vs compile programming"

0

interpret vs compile programming

Compiled: (fastest means of translation)
Languages like C, C++, GO, and Fortran translate source code(your code) to
machine code(binary code ready to execute by CPU) without the need
for an interpreter.  

Interpreted: (still fast, but not as fast)
Languages the modern programming world is more familiar with. 
(Python, PHP, Javascript, Ruby)
that first translate your source code to bytecode and THEN to machine code.
This makes programs more readable and flexible, but every line of code has to be
delt with by the interpreter so more work = higher cost.
Posted by: Guest on May-14-2021
0

interpret vs compile programming

A high level language(A language a machine and a human can understand),
include languages such as Java, Perl, C++, PHP, etc. C++ and Java are
"Compiled languages" because when you run the code, the IDE(Integrated Develope
ment Environment) will take all your 
syntax/program and convert it into a low level language
(Language a machine can understand but not human) by taking everything at once,
put for example: Perl and PHP, they are known as "Interpreter languages", as 
the IDE will read and convert every code one by one into binary code.
It is like you have to read all your books, and you are a compiler. You would go
and get all the books to your room first and then only you start reading them. 
If you were an interpreter, you would go and get one book, come back, read it, 
then go back and get another book, one by one. Hope you liked the explaination!
Posted by: Guest on June-07-2021

Code answers related to "interpret vs compile programming"

Browse Popular Code Answers by Language