[Python-Dev] Hello everyone + little question around Cpython/stackless

"Martin v. Löwis" martin at v.loewis.de
Mon Dec 22 23:23:58 CET 2008


> I'm currently studying all I can find on stackless python, PYPY and the
> concepts they've brought to Python, and so far I wonder : since
> stackless python claims to be 100% compatible with CPython's extensions,
> faster, and brings lots of fun stuffs (tasklets, coroutines and no C
> stack), how comes it hasn't been merged back, to become the standard
> 'fast' python implementation ?

There is a long history to it, and multiple reasons influenced that
status. In summary, some of the reasons were:
- Stackless Python was never officially proposed for inclusion into
  Python (it may be that parts of it were, and of those parts actually
  did get added).
- Stackless Python originally was fairly unmaintainable; this prevented
  its inclusion.
- in its current form, it has limited portability, as it needs to
  be ported to each microprocessor and operating system separately.
  CPython has so far avoided using assembler code, and is fairly
  portable.

Regards,
Martin


More information about the Python-Dev mailing list