+ 5
I want to know the difference between compiler, interpreter and assembler???
9 Answers
+ 6
A compiler translates code in a new file, then the new file may be used everywhere
An interpreter translates code at running time
You should have an interpreter to run interpreted languages. You don't need any more than the compiled file to run compiled lamguages
+ 15
An assembler is basically a compiler which compiles assembly code. As for the differences between a compiler and an interpreter, you may refer to this link.
https://www.programiz.com/article/difference-compiler-interpreter
+ 3
Those three things (TRANSLATORS) exist simply because a Computer can only understand its own Machine Language...
1. Assemblers translate a computer program written in an Assembly Language into the Machine Language...
2. Interpreters / Compilers translate a computer program written in an High Level Programming Language into the Machine Language...
^-^
+ 2
If you wanted to know the difference, why didn't you look up the difference? I don't think you want to know bad enough.
+ 2
Thank u so much for answering my questions
+ 2
Compilers -> Programming Languages like C++
Interpreters -> Scripting Languages like Python or PHP
+ 2
Php is interpreted by the server, all web hostings have php support
If you are using php without web hosting you should download a php interpreter
About Python... I suppose it's interpreted by a Python interpreted. I think I heard python interpreter also supports other languages; I'm not sure
+ 1
Hatsy is so much nicer than me. That's why I love them. <3 Brings balance to the force.
+ 1
OK thank you so much