Runtime vs. Compile time

前端 未结 27 1398
后悔当初
后悔当初 2020-11-22 06:50

What is the difference between run-time and compile-time?

27条回答
  •  深忆病人
    2020-11-22 07:15

    Compile time: Time taken to convert the source code into a machine code so that it becomes an executable is called compile time.

    Run time: When an application is running, it is called run time.

    Compile time errors are those syntax errors, missing file reference errors. Runtime errors happen after the source code has been compiled into an executable program and while the program is running. Examples are program crashes, unexpected program behavior or features don't work.

提交回复
热议问题