------------------------------------------------------------------------------
MC logo
Binding Examples
[^] Ch. 1: Overview and History
------------------------------------------------------------------------------
[Ch. 1: Overview and History] [Syntax] [Names and Scope] [Types and Type Systems] [Semantics] [Functions] [Memory Management] [Imperitive Programs and Functional Abstraction] [Modular and Class Abstraction] [Functional Programming] [Logic Programming]
[Orthogonality] [Binding Examples] [Tucker and Noonan's History Figure]
Here are some examples of events and binding times in various languages.
Binding FORTRAN, before F90 C C++ Java Python
The set of legal operators Language Design Time Language Design Time Language Design Time Language Design Time Language Design Time
The size of an integer. Implementation Time Implementation Time Implementation Time Language Design Time Language Design Time (Python integers are unbounded)
Which machine instruction performs the operation + Compile Time Compile Time Compile Time Compile Time Run Time
The set of types on which + can operate. Language Design Time Language Design Time Compile Time Language Design Time Run Time
The value of a variable. Run Time Run Time Run Time Run Time Run Time
The type of a variable. Compile Time Compile Time Compile Time Compile Time Run Time
The memory location of a local variable. Compile Time Run Time Run Time Run Time Run Time
The body of some method func. Compile Time Compile Time Run time for virtual methods, compile time for others. Run Time Run Time