Runtime vs. Compile time

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

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

27条回答
  •  旧巷少年郎
    2020-11-22 07:32

    Compile Time:

    Things that are done at compile time incur (almost) no cost when the resulting program is run, but might incur a large cost when you build the program. Run-Time:

    More or less the exact opposite. Little cost when you build, more cost when the program is run.

    From the other side; If something is done at compile time, it runs only on your machine and if something is run-time, it run on your users machine.

提交回复
热议问题