Teach Time Encyclopedia - Learn About Our World
Home Page
Teach Time
Featured Topics

United States
by state

CITYology

Academic Disciplines

Historical Timelines

Themed Timelines

Calendars

Reference Tables

Biographies

How-tos



Monday, October 06, 2008

Compile-time

In computer science, compile-time, as opposed to run-time, is the compiling phase in which code written in one programming language is translated into another language.

Because some information are only available for compiler and some other are only can be extracted in runtime, certain tasks can be done in compile-time and some in runtime. Typically in compile-time the following tasks can be done: Type-checking, Static binding, enforcing scoping rules, instantiating of templates, optimization. Those are also called semantic analysis. Typically the following tasks might not be done: boundary check of an array, dynamic binding.

Compile-time errors are those detected already during compilation, i.e. before even starting execution.

In compile-time, some tasks that cannot be done in a run-time environment can be done. See cross-compiler.

When an interpreter is used there may be 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. A type of error that would otherwise be a compile-time error, will then be detected in the course of executing the program.


See also: compiler, run-time, binding


Internet Hotel Solutions

Site Sponsors
AC Units
Baltimore Harbor
Boot Camp Grads
Bra Size
Burkittsville
College Hotels
Digital Harbor
Free Cell Phones
Golden Hare Travel
Golf Vacations
Golf Courses
Gourmet
Hair Styles
Hippodrome
iWoman
Lesson Plans
Maryland Hotels
MD Genealogy
Minor League Stuff
Motel Site
Ocean City
OC Real Estate
Old Agers
Office Supplies
Orlando
Pet Friendly Hotel
Room Prices
Savannah, GA
Ski Vacations
South Baltimore
Student Teaching
Travel Sources
University Hotels
Visit Military Bases
Washington, DC

Brought to you by NoChildLeftBehind.com and the Beaches and Towns Network, LLC.