I want to know the difference between compiler, interpreter and assembler??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

I want to know the difference between compiler, interpreter and assembler???

11th Jul 2017, 12:59 PM
Pavithra
Pavithra - avatar
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
11th Jul 2017, 1:32 PM
Andrés04_ve
Andrés04_ve - avatar
+ 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
11th Jul 2017, 1:20 PM
Hatsy Rei
Hatsy Rei - avatar
+ 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... ^-^
11th Jul 2017, 2:08 PM
Femyk
Femyk - avatar
+ 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.
11th Jul 2017, 1:03 PM
AgentSmith
+ 2
Thank u so much for answering my questions
11th Jul 2017, 1:22 PM
Pavithra
Pavithra - avatar
+ 2
Compilers -> Programming Languages like C++ Interpreters -> Scripting Languages like Python or PHP
11th Jul 2017, 1:51 PM
Andrés04_ve
Andrés04_ve - avatar
+ 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
11th Jul 2017, 2:08 PM
Andrés04_ve
Andrés04_ve - avatar
+ 1
Hatsy is so much nicer than me. That's why I love them. <3 Brings balance to the force.
11th Jul 2017, 1:31 PM
AgentSmith
+ 1
OK thank you so much
11th Jul 2017, 2:09 PM
Pavithra
Pavithra - avatar