( October 20, 2019 )
|operating system||platform independent|
|programming language||C , python|
|License||Python Software Foundation License|
Stackless uses when executing the byte codes in its virtual machine is not the C - call stack to save for subroutine calls (methods, functions, procedures) the return addresses and local variables, but uses its own stack. This enables a complete change of context (e.g. for concurrency , generators, coroutines ). This means that the depth of recursion is only limited by the main memory , but not by the size of the processor stack.
These advantages come at the price of a more complicated, less intuitive and less powerful implementation of the virtual machine. In addition, the differences between the standard interpreter CPython and Stackless are quite clear, so it is not possible to run Stackless as a CPython extension. Instead, Stackless completely replaces the Python installation.