answersLogoWhite

0

Interpreter vs compiler.

Updated: 11/10/2021
User Avatar

Wiki User

7y ago

Best Answer
  • Compiler -- spends some time evaluating the entire program and then translates all the programming statements of a program into a machine language program, which is then executed at once.
  • Interpreter -- translates interactively each programming statement into an immediately usable machine language instruction. Although an interpreter slows down the execution speed of a program somewhat, it does not require extra steps to compile and link like a compiler.
  • In a production environment where throughput is more critical, a compiled language is preferred.
  • Any high-level language can either be interpreted or compiled.
User Avatar

Brady Pfannerstill

Lvl 10
2y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Interpreter vs compiler.
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is computer vs interpreter?

I think the question is wrong. It should be compiler vs interpreter. compiler reads the progem in c/c++ convert it to machine code (object code) and then loader loads it in the memory to run in the supervision of OS. Interpreter reads one line of the code executes it and then reads the next and runs and so on. compiler only creates executables, it doesn't run them while interpreter runs them.


What is the difference between interpreter and parser and compiler?

in my personal point of view i would say a parser is more like "one-directional" "automatic" vs. an interpreter, the interpreter has more "intelligence"


How do you compile a C code in MS VS c plus plus?

Just build it with F7, or execute it with F5/F5. The MS VS Compiler understands the difference between C and C++. You can name the source file as something.C, if you want.


What is difference between Single pass compiler and double pass compiler?

i think a pass is reading the input file, i.e. the file in which the code is written in the source language.so in a single pass compiler, the input file is read only once and in doublepass compiler this is done 2 times .


Why there is single linker while several compiler and assembler?

Yes. All assemblers generate object code files, as do some compilers (others generate files to be fed to the assembler). The linker will link various object files into a single executable object. It is, however, quite possible to have multiple linkers on a single system, that may or may not handle compatible input/output files. (MSVC vs Borland vs icc vs gcc/binutils, etc...)


Typically in a computer system there can be several compiler and assemblersHoweverhere is generally a single linker?

Yes. All assemblers generate object code files, as do some compilers (others generate files to be fed to the assembler). The linker will link various object files into a single executable object. It is, however, quite possible to have multiple linkers on a single system, that may or may not handle compatible input/output files. (MSVC vs Borland vs icc vs gcc/binutils, etc...)


Who would win skunk vs rat vs lion vs cat vs horse vs aligator vs crocodile vs monkey vs cobra vs wolf vs tiger vs cheetah vs dog vs rhino vs shark vs whale vs fish vs bear vs deer vs mouse?

rhino


Stick cricket cheats?

LevelMatchPasswords16All vs BermudaN/A15All vs NetherlandsCRICKET14All vs CanadaFOOTBALL13All vs ScotlandSPEEDWAY12All vs KenyaBASEBALL11All vs IrelandDAGGY10All vs ZimbabveDINGO9All vs BangladeshCARTMAN8All vs West IndiesCLASSIC7All vs Sri LankaMICKEY6All vs PakistanMCBEAR5All vs New ZealandROCKET4All vs EnglandBGARK3All vs AustraliaMONKEY2All vs IndiaBEEFY1All vs South AfricaTUGGA


Who would win 100 lions vs Freddy vs 10 wolves vs Spider-Man vs chucky vs hulk vs starscream vs megatron vs bumblebee vs optimus prime vs leatherface vs candyman vs superman vs blackout vs Godzilla?

Whitebeard


Who would win werewolf vs vampire vs the mummy vs frankenstain vs the creature from the black lagoon vs Freddy vs Jason vs Micheal Myers vs leatherface vs ghostface vs chucky vs candyman vs hellraiser?

pinhead from hellraiser


Who would win 55 tigers vs 999 mosqitos vs baragon vs dracula vs mummy vs magmo vs Mario vs raptros vs 12 orcas vs rachet vs mechagodzilla?

mechagodzilla


What are the 5 man vs?

Man vs ManMan vs NatureMan vs HimselfMan vs GodMan vs Society