Stackless Platform Independence?

David Bolen db3l at fitlinxx.com
Fri Feb 22 22:23:34 EST 2002


Tim Peters <tim.one at comcast.net> writes:

> [Christian Tismer]
> > As you might have noticed, Stackless has changed quite
> > much:
> >  - Platform independence is gone.
> 
> [Christopher Browne]
> > I hope not...  I would hope to hear that "platform indepedence has
> > _ARRIVED_"
> 
> No, he meant what he said.  All the good changes are bought at the cost of
> needing some platform-specific assembler, to transform the platform C stack
> from an Insurmountable Obstacle into just another piece of manipulable
> state.

And given that it's a relatively small piece of the overall puzzle, it
need not be much more of a headache to maintain than the various
platform specific pieces inside the Python core are (e.g., the
threading portions).  Probably less, since I expect CPUs and/or things
with impact on the stack switching may change less frequently than
OS/platforms.  In any case, it seems like it's worth the tradeoff,
especially if it makes it Python version independent (or easily
trackable).

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list