CS 3304: Comparative Languages
Subprograms
[
Course Documents
] : [
Subprograms
]
Previous
Contents
Next
Keyword Index
Local Referencing Environments
If local variables are stack-dynamic:
Advantages:
Support for recursion
Storage for locals is shared among some subprograms
Disadvantages:
Allocation/deallocation time
Indirect addressing
Subprograms cannot be history sensitive
Static locals are the opposite