Run time (program lifecycle phase)

From Wiki @ Karl Jones dot com
Revision as of 09:19, 4 June 2015 by Karl Jones (Talk | contribs) (Execution (computing))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In computer science, run time (runtime, execution time) is the time during which a program is running (executing), in contrast to other phases of a program's lifecycle such as compile time, link time and load time.

A run-time error is detected after or during the execution (running state) of a program, whereas a compile-time error is detected by the compiler before the program is ever executed.

Type checking, register allocation, code generation, and code optimization are typically done at compile time, but may be done at run time depending on the particular language and compiler.

External links