Execution model: Difference between revisions

Content deleted Content added
Replaced "spec" with "specification".
Bluelinking 1 books for verifiability.) #IABot (v2.1alpha3
Line 52:
 
== Overview ==
As a simple example of a basic execution model, that of the [[C (programming language)|C language]] is described in the book by Kernighan and Richie.<ref name="k&r1e">{{cite book | last=Kernighan | first=Brian W. | authorlink=Brian Kernighan | author2=Dennis M. Ritchie | title=The C Programming Language | edition=1st | publisher=[[Prentice Hall]] | date=February 1978 | ___location=[[Englewood Cliffs, NJ]] | isbn=0-13-110163-3 | authorlink2=Dennis M. Ritchie | url-access=registration | url=https://archive.org/details/cprogramminglang00kern }}</ref> The book describes that work takes places in units called statements, which are syntactically indicated by a terminating ";". It specifies that statements are completed serially (one at a time) and sequentially (a previous statement completes before the next statement begins). Details such as this are part of the execution model.
 
In the modern age, parallel programming is an increasingly important topic. Parallel execution models (several at a time) are much more complex. For example, the [[C++11]] standard includes sizeable wording that deals with the parallel execution model of the language.