开发者_JAVA百科
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this questionAccording to published books suitable for a Wikipedia reference:
Does installation occur during runtime, or during compile time?
'a "run-time error" is detected after or during the installation or copying of the program' -- Wikipedia
Sounds like you don't understand the concepts involved. Let me clear it up for you.
- Compile time: the program is being translated from source code to machine code on some developer's computer
- Run time: the program is being executed on your machine
- Installation: The file(s) containing the machine code and resources for the program are being copied from some medium onto an executable place on your machine.
The three are quite unrelated.
During deployment, which is neither run-time, nor compile time.
Deployment is generally considered as a separate phase of the software development life cycle (SDLC). THE SDLC includes the following phases, which are much broader than simply 'running' or 'compiling' software:
- Requirements
- Specification
- Architecture
- Design
- Implementation
- Testing
- Deployment
- Maintenance
UPDATE: I didn't realize you want something Wikipedia citable. How does this book chapter look?
"Installation" is an ill-defined term in this context.
In some older systems, "installation" could refer to the loading of an executable program into the systems memory in preparation to run. It's very unlikely that's what is being talked about here, but if so, that's a run-time operation.
Ordinarily people mean "positioned into the operating system such that the application (as opposed to just a program) will run correctly whenever a user calls on it. In this case, it happens after compile time (of course) and before run-time. Just when is up to system management.
Well... compilation is a separate operation from installation, but to say that installation is "runtime" is a bit facetious, as the installation routine is usually separate from the application itself. So really, neither.
精彩评论