Stackless 3.0 alpha 1 at blinding speed

David Abrahams dave at boost-consulting.com
Mon Apr 21 12:10:22 EDT 2003


"Bjorn Pettersen" <BPettersen at NAREX.com> writes:

>> From: David Abrahams [mailto:dave at boost-consulting.com] 
>
>> Also, "stacklessness" is really an implementation detail AFAICT - it
>> just says that all execution context is stored in
>> dynamically-allocated structures instead of using local variables on
>> the 'C' stack (via a recursive-calling implementation).
>> 
>> Have I misunderstood this whole thing?
>
> Which property exactly makes the C stack frames not dynamically
> allocated? (the sequential property of the allocator, or the fixed size
> of the stack itself?)

Sorry; I guess they're dynamically allocated... on the stack.  IOW,
not on the heap and with lifetime directly tied to the location of the
program counter.  That's a more accurate way to say what I meant.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com






More information about the Python-list mailing list