Map
Index
Random
Help
Topics
th

Topic: temporary data objects

topics > computer science > data > Group: variables



Topic:
file
Topic:
generated variable
Topic:
local declaration of data
Topic:
register allocation
Topic:
running programs in a workspace or environment
Topic:
stacks
Topic:
system-defined variables

Summary

Languages with expressions need temporaries to store intermediate results. Temporaries are system defined variables which are not directly accessible to the user. Their values have situation-dependent meanings, and may require a larger value precision. A stack is usually used for storing temporaries because intermediate values are embedded in expression evaluation. Temporaries are usually primitive values because data structures consume large amounts of memory. But in Jackson's design method temporary files are needed to resolve structure clashes where program and data no longer match. Temporary files and data structures can be avoided by coroutines (Jackson's "program inversion") or structure modification. Some languages provide the user with temporaries which are pre-named variables. Comit (QuoteRef: sammJE_1969
Subtopic: type of temporary up

Note: type represents what doesn't change; e.g., a boolean is 1 bit; allows temporaries of some type [»cbb_1990, OK]

Subtopic: temporary files up

Quote: JacksonDesignMethod uses unstructured temporary files to avoid structure clashes [»jackMA_1975]
Quote: Comit uses shelves for temporaries which act as queues [»sammJE_1969, OK]
Quote: create temporary files be deleting a file while it is open; the unnamed file vanishes when closed [»thomK7_1978]

Subtopic: temporary structures up

Quote: temporary integers are inexpensive but temporary structures are expensive; structures need update instead of value [»hoarCA_1973, OK]

Subtopic: intermediate result up

Quote: in proofs of concurrent programs need to introduce value variables for intermediate results
[»lampL_1980]

Related Topics up

Topic: file (22 items)
Topic: generated variable (7 items)
Topic: local declaration of data (11 items)
Topic: register allocation (28 items)
Topic: running programs in a workspace or environment (14 items)
Topic: stacks (6 items)
Topic: system-defined variables
(9 items)

Updated barberCB 2/05
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.