Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Karteikarten

Implementation Methods

Amy Dang CSCI 374: Programming Languages college Englisch 8 Karten

Compilation Process

Karten in diesem Stapel (8)

  1. 1CompilationPrograms (source language) are translated into machine code (machine language) so that they can be executed directly on the computer.
    Ex. C, COBOL, C++
    Slow translation, fast execution
  2. 2Compilation ProcessCompilation Process
  3. 3von Neumann BottleneckThe speed of the connection between a computer's memory and its processor often determines the speed of the computer.
    Instructions often can be executed faster (CPU) than they can be moved back to the processor (RAM) for execution.
  4. 4Pure InterpretationPrograms are interpreted by another program called an interpreter, with no translation.
    Advantage: easy implementation of programs, run-time errors can be easily and immediately displayed
    Disadvantage: slower execution and requires more space
    Ex. APL, SNOBOL, JavaScript, PHP
  5. 5Pure Interpretation ProcessPure Interpretation Process
  6. 6Hybrid Implementation SystemsPrograms that are partially compiled and partially interpreted.
    A high-level language program is translated (compiled) to an intermediate language that is then interpreted.
    Advantage: Faster than pure interpretation
    Ex. Perl, Java
  7. 7PreprocessorsA program that processes a program to expand embedded preprocessor macros just before the program is compiled.
    Ex. C Preprocessor: #include, #define
  8. 8Programming EnvironmentsA programming environment is the collection of tools used in the development of software.
    This collection may consist of only a file system, a text editor, a linker, and a compiler or it can include a large collection of integrated tools, each accessed through a uniform user interface.
    Ex. UNIX, Microsoft Visual Studio .NET

Informationen

Beschreibung
The machine language of a computer is its set of instructions; they are generally hard to read by humans. Higher-level languages used by programmers must undergo processing by the operative system to convert those instructions for the machine to understand. How these languages undergo those changes are discussed here.
Erstellt von
Amy Dang
Aufrufe
53
Tags
processorinternal memorymain memoryramcpuoperating systemcompilercompilationinterpretationhybridhybrid implementation systempreprocessors
Bewertung

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?