×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Compiler: Difference between revisions

    Content added Content deleted
    imported>mutante
    m (Compiler moved to compiler)
    imported>mutante
    (Compiler moved to compiler)
    Line 1: Line 1:
    [[Image:compiler.gif|frame|right]]
    #REDIRECT [[compiler]]

    A program that translates [[source code]] into [[object code]]. The compiler derives its name from the way it works, looking at the entire piece of source code and collecting and reorganizing the instructions. Thus, a compiler differs from an [[interpreter]], which analyzes and executes each line of source code in succession, without looking at the entire program. The advantage of interpreters is that they can execute a [[:Category:Programs|program]] immediately. Compilers require some time before an executable program emerges. However, programs produced by compilers run much faster than the same programs executed by an [[interpreter]].

    Every high-level [[programming language]] (except strictly interpretive languages) comes with a compiler. ''In effect, the compiler is the language, because it defines which instructions are acceptable''.

    Because compilers translate source code into object code, which is unique for each type of [[computer]], many compilers are available for the same language. For example, there is a [[FORTRAN]] compiler for [[PC]]s and another for [[Apple]] [[Macintosh]] computers. In addition, the compiler industry is quite competitive, so there are actually many compilers for each language on each type of computer. More than a dozen companies develop and sell [[C]] compilers for the [[PC]].

    * http://www.webopedia.com/TERM/c/compiler.html

    * http://www.faqs.org/faqs/compilers/faq/

    [[Category:Computer]]
    [[Category:Definitions]]

    Revision as of 18:18, 11 April 2006

    Redirect to:

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.