Execution model: Difference between revisions

Content deleted Content added
My identity
Tags: Reverted Visual edit Mobile edit Mobile web edit
m Reverted edits by 174.250.69.142 (talk) (HG) (3.4.10)
Line 1:
{{Program execution}}
language has an execution model, which determines the manner in which the units of work (that are indicated by program [[Syntax (programmiages)|syntax]]) are scheduled for [[Execution (computing)|execution]]. Detailed examples of the specification of execution models of a few popular languages include those of [[Python (programming language)|Python]],<ref>
A programming language consists of a grammar/syntax plus an '''execution model'''. The execution model specifies the behavior of elements of the language. By applying the execution model, one can derive the behavior of a program that was written in terms of that programming language. For example, when a programmer "reads" code, in their mind, they walk through what each line of code does. In effect they simulate the behavior inside their mind. What the programmer is doing is applying the execution model to the code, which results in the behavior of the code.
 
Each and every programming language has an execution model, which determines the manner in which the units of work (that are indicated by program [[Syntax (programmiagesprogramming languages)|syntax]]) are [[Scheduling (computing)|scheduled]] for [[Execution (computing)|execution]]. Detailed examples of the specification of execution models of a few popular languages include those of [[Python (programming language)|Python]],<ref>
{{cite web
| url=https://docs.python.org/3/reference/executionmodel.html