Programming model: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
Undid revision 1160265530 by 2402:8100:279C:CCAD:686E:8081:E161:7626 (talk)
Line 7:
| website = [[IBM]]
|access-date=2020-04-19
}}</ref> In both cases, the [[execution model]] of the programming model is free different from that of the base language in which the code is written. For withexample, exampethe [[C programming language]] has no behavior in its execution model for input/output or thread behavior. But such behavior can be invoked from C syntax, by making what appears to be a call to a normal C library.
example, the [[C programming language]] has no behavior in its execution model for input/output or thread behavior. But such behavior can be invoked from C syntax, by making what appears to be a call to a normal C library.
 
What distinguishes a programming model from a normal library is that the behavior of the call cannot be understood in terms of the language the program is written in. For example, the behavior of calls to the POSIX thread library cannot be understood in terms of the C language. The reason is that the call invokes an execution model that is different from the execution model of the language. This invocation of an outside execution model is the defining characteristic of a programming ''model'', in contrast to a programming ''language''.