Subj : Re: OO compilers and efficiency To : comp.programming From : Chris Dollin Date : Mon Jul 25 2005 12:16 pm Rob Thorpe wrote: > SML/OCaml - Only allocate simple things on the Stack > Pop11 - Couldn't find out about this one, I'll take your word on it. > Lisp - Allocates anything you want on the stack if the programmer > specifies "dynamic-extent" but will cannot do so automatically. > Smalltalk - Smalltalk "contexts" are held in a stack, but this makes > little odds since "new:" is not a language intrinsic, it's a class > method. > > So, I've successfully proved myself wrong. > > (Think of this as a mid-thread batting collapse. I'll make it up in > the second test, promise.) I'm sure there's stuff out there on automatic stack-allocation for Lisp - I remember noises about it from years back - so perhaps this was just the first innings? [Pop11 wasn't fair, of course.] -- Chris "electric hedgehog" Dollin predicting self-predictors' predictions is predictably unpredictable. .