Unix Stack Frame Questions
Doug Gwyn
gwyn at smoke.brl.mil
Sat Apr 6 10:06:47 AEST 1991
In article <1991Apr4.230716.21177 at cbnewsm.att.com> lfd at cbnewsm.att.com (Lee Derbenwick) writes:
>All the C language guarantees you is behavior _as if_ there were a stack.
It's probably better to simply say that autos and parameters are distinct
for each active invocation of a function. I don't like the "stack" model
since it can mislead the unwary. If one has to have a model, try the
linked activation record model a la Burroughs B5700 etc. (Interestingly,
that was a genuine "stack architecture", but the stack was not used for
the activation records.) However, a model should not be necessary.
More information about the Comp.lang.c
mailing list