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.

4.5
4

                                    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!

4.5 (4 Votes)
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source