为什么会莫名其妙的哭| 优思明是什么药| 朱元璋是什么民族| 痣长什么样| 润滑油是什么| 喝什么可以解酒| 学前班是什么意思| 哈喽是什么意思| 六合是什么意思| 头七需要做什么| 生育能力检查挂什么科| 糖尿病人吃什么水果最好| 二聚体测定是什么| 霉菌性阴炎是什么原因引起的女| 淋巴结肿大是什么原因| 甲减是什么| 补休是什么意思| 成吉思汗属什么生肖| 银手镯变黑是什么原因| 肺结节吃什么药好| 阴茎越来越小是什么原因| 9月19日是什么星座| 血压低压低是什么原因| 为什么会基因突变| 寒湿体质吃什么中成药| 什么是表达方式| 焖子是什么做的| 如梦初醒是什么意思| 为什么胸口疼| 肌酐高有什么症状表现| 老人脚肿是什么征兆| 烂漫什么意思| 拉肚子是什么原因| 孩子咳嗽吃什么药效果好| 3000年前是什么朝代| 梦见猪下崽预兆什么| 木薯粉是什么东西| 相知相惜是什么意思| 嘴巴苦是什么原因引起的| 低压低什么原因| 刘备和刘表什么关系| 月相是什么意思| 排骨炖山药有什么功效| 隐晦是什么意思| 鹿茸泡酒有什么功效| 红色属于五行属什么| 晕车贴什么时候贴| 流氓是什么意思| 耳膜破了是什么感觉| 感染hpv用什么药| 凌晨三四点是什么时辰| 低密度脂蛋白胆固醇高是什么意思| 肋骨骨折吃什么食物好得快| 九寨沟属于什么市| 什么食物嘌呤高| 女大四岁有什么说法| 女人盗汗吃什么好得快| 博物馆里有什么| 7月1日是什么星座| 梦见血是什么预兆解梦| 什么叫cta检查| 伤元气是什么意思| 睾丸疼吃什么药| 什么人不能吃芒果| 小米可以和什么一起煮粥| 直肠下垂有什么症状| 女性漏尿吃什么药最好| 2007年五行属什么| 肺结节是什么原因| 一代明君功千秋是什么生肖| 梦见买猪肉是什么预兆| 老人头发由白变黑是什么原因| 掉发是什么原因| 螃蟹吃什么食物| 嗝屁是什么意思| 野兽是什么生肖| 欲望是什么| 孔子姓什么| 缺铁性贫血吃什么食物| 点状钙化灶是什么意思| 虚热是什么意思| 女生右手中指戴戒指什么意思| 夏天出汗多是什么原因| 亥时属什么生肖| 心率偏低是什么原因| 扑街什么意思| 得了子宫肌瘤注意什么| 政绩是什么意思| 干预治疗是什么意思| 钛合金是什么材料| 慎用是什么意思| %是什么意思| 什么叫地包天| 刚愎自用是什么意思| 油菜花是什么颜色| 血红蛋白是查什么的| 宫崎骏是什么意思| 榴莲吃了对身体有什么好处| 洗葡萄用什么洗最干净| 榴莲什么季节吃最好| 为什么叫白俄罗斯| 左侧肋骨下方疼痛是什么原因| 老豆腐和嫩豆腐有什么区别| 肚子疼吃什么食物好| 光绪帝叫什么名字| 惊蛰什么意思| 吃什么有奶水| 猫靠什么散热| 什么降糖药效果最好| 胃疼吃什么好| 为什么会过敏| 断肠草长什么样| 麻雀为什么跳着走| 右下眼皮跳是什么预兆| 得逞是什么意思| 肌无力挂什么科| 什么是动态口令| 乌鸡白凤丸什么时候吃| 牛奶盒属于什么垃圾| 金脸银脸代表什么人物| 耳朵为什么老是痒| 八哥吃什么| 盆腔积液是什么原因引起的| adidas是什么品牌| 白喉是什么意思| seeyou是什么意思| 口腔溃疡长什么样| 坐怀不乱柳下惠什么意思| 尿道结石有什么症状| 吃什么对身体好| 菜板什么材质的好| 坐怀不乱柳下惠什么意思| 晚上睡不着觉吃什么药| 胃胀气吃什么药| 睡不着觉是什么原因引起的| 女人平胸是什么原因| 黄鼠狼进屋是什么兆头| 月什么意思| 晚上血压高是什么原因| 支气管发炎用什么药| 什么叫有个性的人| 屁股右边痛是什么原因| 眉心长痘是什么原因| 身体欠佳什么意思| 不知道叫什么名字好| 尿频尿急吃什么药比较好| 白细胞酯酶阳性什么意思| phr是什么词性| 当兵什么时候体检| 脾胃科主要看什么| 斐然是什么意思| 孕妇腰疼是什么原因| 鄂尔多斯为什么叫鬼城| 欢愉是什么意思| lsp是什么意思| 绿豆和什么不能一起吃| 五月十一是什么星座| 介入科主要看什么病| 脸上长红色的痘痘是什么原因| prbpm是什么意思| 手脚发烫是什么原因造成的| 豆腐和什么不能一起吃| 乙肝五项135阳性是什么意思| 现在是什么时辰| 心率快吃什么药效果更佳| 梦见老公回来了是什么征兆| 鸡茸是什么东西| 什么是潜规则| 腹泻可以吃什么食物| 三十六计第一计是什么计| 为什么会阑尾炎| 腿无力是什么原因| 做梦笑醒了有什么征兆| 妈妈的哥哥的老婆叫什么| 草龟吃什么蔬菜| 吃什么能提神不打瞌睡| 红眼病什么症状| 金钱草长什么样子图片| 吃蒜有什么好处| 身高用什么单位| 痰多是什么原因造成的| 手上起水泡是什么原因| 月经推迟半个月是什么原因| 啤酒酵母是什么| 孕妇胃疼可以吃什么药| 鲁冰花是什么意思| bioisland是什么牌子| 圣女果是什么水果| 查黄体酮做什么检查| f代表什么| FAN英语什么意思| 世界上最大的湖是什么湖| 巨蟹女喜欢什么样的男生| 弱智的人有什么表现| 6月11日是什么星座| 女用避孕套是什么样的| 大便隐血阴性是什么意思| 湿疹抹什么药| 火鸡面是什么| 78岁属什么生肖| 输卵管囊肿是什么原因引起的| 里长是什么官| 宠物蛇吃什么食物| 985和211是什么意思| 后壁和前壁有什么区别| 眩晕症挂什么科| 老虎头是什么牌子衣服| 大便发绿色是什么原因| 淋巴细胞高是什么意思| 什么是低血压| 内窗是什么意思| 蓝色的猫是什么品种| 白带是什么样子| 大云是什么烟| 遗精频繁是什么原因| 调制乳粉是什么意思| 我的手机是什么型号| 什么烟好抽| 月经多是什么原因| 平血头晕吃什么药最好| 蝴蝶喜欢吃什么| 女人小腹痛什么原因| 阴茎不硬吃什么| 什么时候测量血压最准确| 霍霍人什么意思| 常吃猪油有什么好处和坏处| 打完升白针有什么反应| 突然头晕是什么情况| 梦到自己孩子死了是什么征兆| 殊胜的意思是什么| 鱼缸底部铺什么好| 睾丸是什么东西| 麦麸是什么| 一般什么人戴江诗丹顿| 骨折忌口什么食物| ect是什么检查| 凸起的痣是什么痣| 头皮屑大块是什么原因| 唐宋元明清前面是什么| 排骨和什么菜搭配最好| 预防水痘吃什么药| 刚愎自用什么意思| 生普属于什么茶| 妲是什么意思| 被什么虫子咬了会刺痛| 左肾窦分离是什么意思| qs排名是什么意思| 乌龟一般吃什么东西| 蝈蝈为什么不叫| 眼睛充血用什么药| 怀孕为什么不能吃韭菜| 桦树茸泡水喝有什么功效| 啃老是什么意思| 阴茎插入阴道什么感觉| 双卵巢是什么意思| 窝在沙发里是什么歌| 突然耳鸣是什么原因| 凤凰男什么意思| 沉住气是什么意思| 刁子鱼是什么鱼| 十余年是什么意思| 结膜炎用什么药| 雨渐耳符咒有什么用| 奔跑吧 什么时候开播| 百度Jump to content

《围观》第75期:一位落马市委书记的生活

From Wikipedia, the free encyclopedia
百度   如果说丹麦七千三百多公里的海岸线把西兰岛(Sealand)和日德兰半岛(Jutland)勾勒成两条美人鱼的曲线,那么二者之间的菲英岛(Funen),这片孕育了安徒生童话的岛屿,就是这两条人鱼追逐的那颗明珠。

Execution in computer and software engineering is the process by which a computer or virtual machine interprets and acts on the instructions of a computer program. Each instruction of a program is a description of a particular action which must be carried out, in order for a specific problem to be solved. Execution involves repeatedly following a "fetch–decode–execute" cycle for each instruction done by the control unit. As the executing machine follows the instructions, specific effects are produced in accordance with the semantics of those instructions.

Programs for a computer may be executed in a batch process without human interaction or a user may type commands in an interactive session of an interpreter. In this case, the "commands" are simply program instructions, whose execution is chained together.

The term run is used almost synonymously. A related meaning of both "to run" and "to execute" refers to the specific action of a user starting (or launching or invoking) a program, as in "Please run the application."

Process

[edit]

Prior to execution, a program must first be written. This is generally done in source code, which is then compiled at compile time (and statically linked at link time) to produce an executable. This executable is then invoked, most often by an operating system, which loads the program into memory (load time), possibly performs dynamic linking, and then begins execution by moving control to the entry point of the program; all these steps depend on the Application Binary Interface of the operating system. At this point execution begins and the program enters run time. The program then runs until it ends, either in a normal termination or a crash.

Executable

[edit]

Executable code, an executable file, or an executable program, sometimes simply referred to as an executable or binary, is a list of instructions and data to cause a computer "to perform indicated tasks according to encoded instructions",[1] as opposed to a data file that must be interpreted (parsed) by a program to be meaningful.

The exact interpretation depends upon the use. "Instructions" is traditionally taken to mean machine code instructions for a physical CPU.[2] In some contexts, a file containing scripting instructions (such as bytecode) may also be considered executable.

Context of execution

[edit]

The context in which execution takes place is crucial. Very few programs execute on a bare machine. Programs usually contain implicit and explicit assumptions about resources available at the time of execution. Most programs execute within multitasking operating system and run-time libraries specific to the source language that provide crucial services not supplied directly by the computer itself. This supportive environment, for instance, usually decouples a program from direct manipulation of the computer peripherals, providing more general, abstract services instead.

Context switching

[edit]

In order for programs and interrupt handlers to work without interference and share the same hardware memory and access to the I/O system, in a multitasking operating system running on a digital system with a single CPU/MCU, it is required to have some sort of software and hardware facilities to keep track of an executing process's data (memory page addresses, registers etc.) and to save and recover them back to the state they were in before they were suspended. This is achieved by a context switching.[3]:?3.3?[4] The running programs are often assigned a Process Context IDentifiers (PCID).

In Linux-based operating systems, a set of data stored in registers is usually saved into a process descriptor in memory to implement switching of context.[3] PCIDs are also used.

Runtime

[edit]

Runtime, run time, or execution time is the final phase of a computer program's life cycle, in which the code is being executed on the computer's central processing unit (CPU) as machine code. In other words, "runtime" is the running phase of a program.

A runtime error is detected after or during the execution (running state) of a program, whereas a compile-time error is detected by the compiler before the program is ever executed. Type checking, register allocation, code generation, and code optimization are typically done at compile time, but may be done at runtime depending on the particular language and compiler. Many other runtime errors exist and are handled differently by different programming languages, such as division by zero errors, domain errors, array subscript out of bounds errors, arithmetic underflow errors, several types of underflow and overflow errors, and many other runtime errors generally considered as software bugs which may or may not be caught and handled by any particular computer language.

Implementation details

[edit]

When a program is to be executed, a loader first performs the necessary memory setup and links the program with any dynamically linked libraries it needs, and then the execution begins starting from the program's entry point. In some cases, a language or implementation will have these tasks done by the language runtime instead, though this is unusual in mainstream languages on common consumer operating systems.

Some program debugging can only be performed (or is more efficient or accurate when performed) at runtime. Logic errors and array bounds checking are examples. For this reason, some programming bugs are not discovered until the program is tested in a production environment with real data, despite sophisticated compile-time checking and pre-release testing. In this case, the end-user may encounter a "runtime error" message.

Application errors (exceptions)

[edit]

Exception handling is one language feature designed to handle runtime errors, providing a structured way to catch completely unexpected situations as well as predictable errors or unusual results without the amount of inline error checking required of languages without it. More recent advancements in runtime engines enable automated exception handling which provides "root-cause" debug information for every exception of interest and is implemented independent of the source code, by attaching a special software product to the runtime engine.

Runtime system

[edit]

A runtime system, also called runtime environment, primarily implements portions of an execution model.[clarification needed] This is not to be confused with the runtime lifecycle phase of a program, during which the runtime system is in operation. When treating the runtime system as distinct from the runtime environment (RTE), the first may be defined as a specific part of the application software (IDE) used for programming, a piece of software that provides the programmer a more convenient environment for running programs during their production (testing and similar), while the second (RTE) would be the very instance of an execution model being applied to the developed program which is itself then run in the aforementioned runtime system.

Most programming languages have some form of runtime system that provides an environment in which programs run. This environment may address a number of issues including the management of application memory, how the program accesses variables, mechanisms for passing parameters between procedures, interfacing with the operating system, and otherwise. The compiler makes assumptions depending on the specific runtime system to generate correct code. Typically the runtime system will have some responsibility for setting up and managing the stack and heap, and may include features such as garbage collection, threads or other dynamic features built into the language.[5]

Instruction cycle

[edit]

The instruction cycle (also known as the fetch–decode–execute cycle, or simply the fetch-execute cycle) is the cycle that the central processing unit (CPU) follows from boot-up until the computer has shut down in order to process instructions. It is composed of three main stages: the fetch stage, the decode stage, and the execute stage.

This is a simple diagram illustrating the individual stages of the fetch-decode-execute cycle.

In simpler CPUs, the instruction cycle is executed sequentially, each instruction being processed before the next one is started. In most modern CPUs, the instruction cycles are instead executed concurrently, and often in parallel, through an instruction pipeline: the next instruction starts being processed before the previous instruction has finished, which is possible because the cycle is broken up into separate steps.[6]

Interpreter

[edit]

A system that executes a program is called an interpreter of the program. Loosely speaking, an interpreter directly executes a program. This contrasts with a language translator that converts a program from one language to another before it is executed.

Virtual machine

[edit]

A virtual machine (VM) is the virtualization/emulation of a computer system. Virtual machines are based on computer architectures and provide functionality of a physical computer. Their implementations may involve specialized hardware, software, or a combination.

Virtual machines differ and are organized by their function, shown here:

Some virtual machine emulators, such as QEMU and video game console emulators, are designed to also emulate (or "virtually imitate") different system architectures thus allowing execution of software applications and operating systems written for another CPU or architecture. OS-level virtualization allows the resources of a computer to be partitioned via the kernel. The terms are not universally interchangeable.

See also

[edit]

References

[edit]
  1. ^ "executable". Merriam-Webster's Online Dictionary. Merriam-Webster. Retrieved 2025-08-06.
  2. ^ "Machine Instructions". GeeksforGeeks. 2025-08-06. Retrieved 2025-08-06.
  3. ^ a b Bovet, Daniel P. (2005). Understanding the Linux Kernel. Marco Cesati (3 ed.). Sevastopol, CA: O'Reilly. ISBN 0-596-00565-2. OCLC 64549743.
  4. ^ "Difference between Swapping and Context Switching". GeeksforGeeks. 2025-08-06. Retrieved 2025-08-06.
  5. ^ Aho, Alfred V.; Lam, Monica Sin-Ling; Sethi, Ravi; Ullman, Jeffrey David (2007). Compilers: Principles, Techniques and Tools (2nd ed.). Boston, MA, US: Pearson Education. p. 427. ISBN 978-0-321-48681-3.
  6. ^ Crystal Chen, Greg Novick and Kirk Shimano (2000). "Pipelining". Retrieved 2025-08-06.
青榄配什么煲汤止咳做法 肌肉酸痛用什么膏药 什么是血糖 膈肌痉挛是什么症状 未时左眼跳是什么预兆
耳鸣吃什么药效果最好 肚子痛去药店买什么药 入睡困难吃什么中成药 好事多磨什么意思 卵巢过度刺激综合症是什么
情形是什么意思 三轮体空是什么意思 惊奇地什么 支气管炎咳嗽吃什么药好得快 脸色发青是什么原因引起的
腿毛长的男人代表什么 小浣熊吃什么 唐僧姓什么 双鱼座跟什么星座最配 胃疼可以吃什么食物
孕妇感冒了对胎儿有什么影响hcv9jop0ns0r.cn 戏梦巴黎讲的是什么hcv9jop3ns4r.cn 豆浆什么时候喝最好hcv9jop2ns6r.cn 上海有什么好玩的地方hcv8jop7ns1r.cn 18k是什么金hcv9jop6ns4r.cn
吃了避孕药不能吃什么东西hcv9jop4ns9r.cn 总胆固醇偏高吃什么药hcv8jop1ns8r.cn 火可念什么hcv8jop5ns7r.cn 313什么意思hcv8jop0ns9r.cn 网友见面叫什么hcv7jop6ns9r.cn
关节间隙变窄什么意思hcv7jop9ns3r.cn 梦见弟媳妇是什么预兆hcv9jop2ns6r.cn 神经质是什么意思hcv9jop2ns8r.cn 左旋延胡索乙素是什么hcv9jop0ns8r.cn 名流是什么意思hcv8jop9ns9r.cn
金国是什么民族hcv8jop9ns9r.cn 男人交生育保险有什么用hcv9jop2ns3r.cn ray是什么意思fenrenren.com 过敏性鼻炎不能吃什么hcv9jop5ns9r.cn 双歧杆菌三联和四联有什么区别hcv7jop6ns6r.cn
百度