Hello,

It's true that in C/Pascal-like languages activation records - which
are used to store parameters, local variables, temporary variables,
return addresses, dynamic and static links, exception-handling, and
other information - are normally stored on one or more stacks.
However, this is not the case for all languages and implementations.
In languages where functions/procedures are first-class objects,
activation records can be referenced  by closures that are passed
around as data with arbitrary lifetimes. These need to be allocated on
a  heap or other long-lived data structure and garbage-collected only
after the last reference to them disappears, which may be not until
the program terminates.  Languages where this is true include -- lisp,
ML, F#, javascript, perl, ruby, and quite a few others.

Gene

On Sep 2, 11:36 pm, bharatkumar bagana <bagana.bharatku...@gmail.com>
wrote:
> The activation records for all of the active functions are stored in the
> region of computer memory called *the stack*. A good way to remember this is
> to think of the stack as ``the region of memory where all the activation
> records are stacked''.
> Allocation and deallocation of activation records is always done in a stack
> structure manner : TRUE
>
> On Fri, Sep 2, 2011 at 2:53 PM, rajeev bharshetty <rajeevr...@gmail.com>wrote:
>
>
>
>
>
> >http://www.enel.ucalgary.ca/People/Norman/enel339fall2000/activ_rec/
>
> > False
>
> > On Fri, Sep 2, 2011 at 10:13 PM, Kamakshii Aggarwal <kamakshi...@gmail.com
> > > wrote:
>
> >> what are activation records??
>
> >> On Fri, Sep 2, 2011 at 9:00 PM, sukran dhawan 
> >> <sukrandha...@gmail.com>wrote:
>
> >>> true
>
> >>> On Fri, Sep 2, 2011 at 7:44 PM, priya ramesh <
> >>> love.for.programm...@gmail.com> wrote:
>
> >>>> Allocation and deallocation of activation records is always done using a
> >>>> stack
> >>>> (LIFO) structure. True or false??
>
> >>>> --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Algorithm Geeks" group.
> >>>> To post to this group, send email to algogeeks@googlegroups.com.
> >>>> To unsubscribe from this group, send email to
> >>>> algogeeks+unsubscr...@googlegroups.com.
> >>>> For more options, visit this group at
> >>>>http://groups.google.com/group/algogeeks?hl=en.
>
> >>>  --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Algorithm Geeks" group.
> >>> To post to this group, send email to algogeeks@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> algogeeks+unsubscr...@googlegroups.com.
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/algogeeks?hl=en.
>
> >> --
> >> Regards,
> >> Kamakshi
> >> kamakshi...@gmail.com
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "Algorithm Geeks" group.
> >> To post to this group, send email to algogeeks@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> algogeeks+unsubscr...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/algogeeks?hl=en.
>
> > --
> > Regards
> > Rajeev N B <http://www.opensourcemania.co.cc>
>
> > "*Winners Don't do Different things , they do things Differently"*
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to algogeeks@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/algogeeks?hl=en.
>
> --
>
> **Please do not print this e-mail until urgent requirement. Go Green!!
> Save Papers <=> Save Trees
> *BharatKumar Bagana*
> **http://www.google.com/profiles/bagana.bharatkumar<http://www.google.com/profiles/bagana.bharatkumar>
> *
> Mobile +91 8056127652*
> <bagana.bharatku...@gmail.com>- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to