The essential difference between a process and a program is: a process is dynamic, while a program is static. A program is an ordered collection of instructions without execution meaning, while a process emphasizes the execution process. Processes have parallelism characteristics, while programs do not.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The essential difference between processes and programs is dynamic and static characteristics.
The differences between process and program are:
(1) Process is a dynamic concept, while program is a static concept. A program is an ordered collection of instructions without execution meaning. Process then emphasizes the execution process;
(2) Processes have parallel characteristics (independence, asynchronousness), programs do not;
(3) Different processes can contain the same program, and the same program can Multiple processes can also be generated during execution.
The essential difference between them is that the process is dynamic, while the program is static.
The above is the detailed content of What is the essential difference between process and program. For more information, please follow other related articles on the PHP Chinese website!