Compile time

Compile time

In computer science, compile time refers to either the operations performed by a compiler (the "compile-time operations"), programming language requirements that must be met by source code for it to be successfully compiled (the "compile-time requirements"), or properties of the program that can be reasoned about at compile time.

The operations performed at compile time usually include syntax analysis, various kinds of semantic analysis (e.g., type checks and instantiation of template) and code generation.

Programming language definitions usually specify compile-time requirements that source code must meet to be successfully compiled. For example, that the amount of storage required by types and variable can be deduced.

Properties of a program that can be reasoned about at compile time include range-checks (e.g., proving that an array index will not exceed the array bound), deadlock freedom in concurrent languages, or timings (e.g., proving that a sequence of code takes no more than an allocated amount of time).

Compile time occurs before link time (when the output of one or more compiled files are joined together) and runtime (when a program is executed). In some programming languages it may be necessary for some compilation and linking to occur at runtime. There is a trade-off between compile-time and link-time in that many compile time operations can be deferred to link-time without incurring extra run-time.

"Compile time" can also refer to the amount of time required for compilation.

See also

  • Link time
  • Run time (program lifecycle phase)
  • Compiling
  • Just in time compiling



Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • compile time — kompiliavimo laikas statusas T sritis informatika apibrėžtis Laiko tarpas, per kurį kompiliuojama programa. atitikmenys: angl. compile time; compiletime ryšiai: palygink – saistymo laikas palygink – vykdymo laikas …   Enciklopedinis kompiuterijos žodynas

  • compile time — kompiliavimo trukmė statusas T sritis informatika apibrėžtis Laikas, per kurį sukompiliuojama programa. atitikmenys: angl. compile time; compiletime …   Enciklopedinis kompiuterijos žodynas

  • Compile time function execution — (or compile time function evaluation, CTFE) is the ability of a compiler, that would normally compile a function to machine code and execute it at run time, to execute the function at compile time. This is possible if the arguments to the… …   Wikipedia

  • compile time constant — kompiliavimo konstanta statusas T sritis informatika apibrėžtis Konstanta, kuriai reikšmė suteikiama programos kompiliavimo metu ir vėliau nebegali būti pakeista. Tai ↑literalinės konstantos arba ↑vardinės konstantos, kurioms konstantų aprašuose… …   Enciklopedinis kompiuterijos žodynas

  • compile-time binding — statinis saistymas statusas T sritis informatika apibrėžtis Adresų saistymas programos kompiliavimo arba saistymo metu. atitikmenys: angl. compile time binding; early binding; static binding ryšiai: palygink – dinaminis saistymas …   Enciklopedinis kompiuterijos žodynas

  • compile-time error — kompiliavimo klaida statusas T sritis informatika apibrėžtis Programos tekste esanti ↑klaida, kuri aptinkama kompiliuojant programą. Tai ↑sintaksės klaida arba kuri nors kita klaida, kuri gali būti aptinkama nevykdant programos, pavyzdžiui,… …   Enciklopedinis kompiuterijos žodynas

  • compile time — noun The point at which a program is converted from source code to machine code; literally the time of compilation. Ant: runtime …   Wiktionary

  • Compile farm — A compile farm is a server farm, a collection of one or more servers, which has been set up to compile computer programs remotely for various reasons. Uses of a compile farm include: Cross platform development: When writing software that runs on… …   Wikipedia

  • Just-in-time compilation — In computing, just in time compilation (JIT), also known as dynamic translation, is a method to improve the runtime performance of computer programs. Historically, computer programs had two modes of runtime operation, either interpreted or static …   Wikipedia

  • Worst-case execution time — The worst case execution time (WCET) of a computational task is the maximum length of time the task could take to execute on a specific hardware platform. Knowing worst case execution times is of prime importance for the schedulability analysis… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”