Unix Stack Frame Questions

Charles Shub cdash at watneys.colorado.edu
Sat Apr 6 08:31:23 AEST 1991


In article <9272 at sail.LABS.TEK.COM> terryl at sail.LABS.TEK.COM writes:
=>  In article <3465 at unisoft.UUCP> greywolf at unisoft.UUCP (The Grey Wolf) writes:
=>  >/* <GOEHRING.91Mar25113709 at gnu.ai.mit.edu> by goehring at gnu.ai.mit.edu
=>  > * In article <125 at epic.epic.com> tan at epic.epic.com (Andy Tan) writes:
=>  > * [ horrendously edited to address only relevant stuff ]

=>       Repeat after me: ALL THE WORLD IS NOT A VAX!!!! Repeat that 10 TIMES.
=>              You have to learn to think globally, instead of just your tiny
=>  little world....

Ah... a case of model versus implementation.  For Most algol like languages
the invocation of procedures/functions is nested, so a model of the invocation
sequence history is a stack of contexts.  If a machine has hardware that looks
like a stack, the mapping from the concept to the hardware is simple and
natural.  Otherwise, the mapping is not so simple and natural.  Irrespective
of the implementation, the underlying model is still a stack.
-- 

charlie shub  cdash at cs.Colorado.EDU  -or-   ..!ucar!boulder!cdash
  or even         (719) 593-3492     -or-  cdash at colospgs (BITNET)



More information about the Comp.unix.questions mailing list