Runtime and Compile Time

182 단어·1 분·원문(.md)

What is Runtime? #

  • Refers to the time when an application, having completed the compilation process, is executed by a user.

What is a Runtime Error? #

  • Refers to an error that occurs during program execution due to an unintended exceptional situation, even though the program has already been compiled and is running.

What is Compile Time? #

  • Refers to the process where source code is written by a developer in a programming language like C or Java, and then converted into machine code that a computer can understand through the compilation process, becoming an executable program.
  • All template programming is determined or executed at compile time.

What is a Compile-time Error? #

  • Refers to errors that occur when compilation is hindered by issues such as Syntax errors or file reference errors that arise during the source code compilation process.
  • When a compile-time error occurs, it indicates the problematic source code.

Error Types

Runtime ErrorCompile-time Error
  1. Division by 0 error | 1. Syntax error
  2. NULL reference error | 2. Type Check error
  3. Out of memory error |
정보처리/comrun.md