![]() ![]() Interpreters are tools that execute instruction written in some language. Programming language like C, C++ use compilers.ĭifference between assembler and interpreter:-Īn assembler can be considered a special type of compiler, which only translates Assembly language to machine code. Programming language like Python, Ruby use interpreters. It generates the error message only after scanning the whole program. Generates intermediate object code which further requires linking, hence requires more memory.Ĭontinues translating the program until the first error is met, in which case it stops. No intermediate object code is generated, hence are memory efficient. It takes large amount of time to analyze the source code but the overall execution time is comparatively faster. ![]() It takes less amount of time to analyze the source code but the overall execution time is slower. Scans the entire program and translates it as a whole into machine code. Translates program one statement at a time. The difference between an interpreter and a compiler is given below: Interpreter
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |