What are the differences between an interpreter and a compiler, in general?
This is a very common question that you can get from the beginners. Here, I am posting my answer and if I miss anything, then do answer.
3/29/2017 3:07:06 AMTamoghna Saha
3 AnswersNew Answer
Interpreter: Ir Compiler: Cr 1. Ir translates single instruction as input at a time but Cr translates the entire program at one go. 2. In Ir, no intermediate object code is generated, hence are memory efficient but Cr generates it which further requires linking, hence takes more memory. 3. In Ir, errors are displayed for every instructions interpreted (if any) and hence debugging is easy, but in Cr, errors are displayed after the entire program is scanned. These are the main difference that I think will be sufficient to answer the question. If I have missed anything, then do let me know. 😃
sir how to identify or decide any programing language is compile or interpreted.. for example from java and python which is interpreted language
@mayur As far as I have learnt, any programming language can be interpreted or compiled. so interpretation and compilation are the technique of implementation, nothing else. PS: please don't call me sir. I am a student 😅😅