Link Time

In computer science, link time refers to either the operations performed by a linker (i.e. link time operations) or programming language requirements that must be met by compiled source code for it to be successfully linked (i.e. link time requirements).

The operations performed at link time usually include fixing up the addresses of externally referenced objects and functions, various kinds of cross module checks (e.g. type checks on externally visible identifiers and in some languages instantiation of template). Some optimizing compilers delay code generation until link time because it is here that information about a complete program is available to them.

The definition of a programming language may specify link time requirements that source code must meet to be successfully compiled (e.g. the maximum number of characters in an externally visible identifier that must be considered significant).

Link time occurs after compile time and before runtime (when a program is executed). In some programming languages it may be necessary for some compilation and linking to occur at runtime. Resolving external variables in a program is done at link time.


Famous quotes containing the words link and/or time:

    This is what we fear—no sight, no sound,
    No touch or taste or smell, nothing to think with,
    Nothing to love or link with,
    The anaesthetic from which none come round.
    Philip Larkin (1922–1986)

    At the time there was a claustral monk named Frere Jean of the Hashes, who was young, gallant, joyful, good natured, dextrous, bold, adventurous, thoughtful, tall, thin, with a capacious mouth, gifted in the nose, a great dispatcher of hours, quite an accomplisher of masses, a quick doer-in of vigils,—to put it in a nutshell, a true monk if ever there’s been one since this monk of a world first monked out a monk; moreover, a cleric to his very teeth in matters of the breviary.
    François Rabelais (1494–1553)