Compile time - Your Art History Reference Guide!

ArtHistoryClub Information Site on Compile time Art History Art History Search        Art History Browse             News        Gallery        Forums        Articles        Weblinks        welcome to our free resource site for all art history lovers!

Compile time

In computer science, compile time, as opposed to runtime, is the time when a compiler compiles code written in a programming language into an executable form.

A compiler will typically perform syntax checking, which includes type checks, scoping rule enforcement, amongst other checks; and other processes such as static binding, instantiation of templates, and optimization. Those are also called semantic analyses. Dynamic binding is typically done after compile time, either at runtime or before runtime usually by means of a program loader. Boundary checking of arrays is usually not done at compile time.

Cross-compilers can produce programs which will run on a different CPU type, something which is often prohibitively slow at run time, though sophisticated implementations which perform efficient once-only conversion either at first execution and saved semi-permanently or once per execution do exist. Such implementations are not as efficient as cross-compilation but they may be the only practical solution where a vendor does't produce a program on the desired CPU.

When an interpreter is used there is in general no separation between compile time and run time. There may instead be a interpretation phase (often into bytecode) followed by execution, but performed by the same software and not exposed to the user. Compile time errors in a program that is normally compiled may instead be detected as runtime errors when interpreted and this makes it hard to check every single execution path without extensive debugging.

Last updated: 10-13-2005 15:18:29
Last updated: 01-04-2007 01:18:57
The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. See original document.
Art History Search | Art History Browse | Contact | Legal info