Question

Default build of PyPy 1.7 with stackless included in, does not offer the ability to run with no recursion depth limit (in straight way).

Why?

Previus builds of PyPy with stackless support continuation style of function call and tail recursion.

I'm not asking about solutions involving coroutines, but the looking for the problems of integration stackelss.

Was it helpful?

Solution

the reason is that the new continulets work on the os level stack, which is limited (however they are much more simple than the old stackless transform in the translation process)

there is a current work in progress for continulet jit that experiments with the stack being gc-managed blocks

if that is successfull, the "limitless" stack for stackless will be back in the form of just allocating new stack blocks till you run out of memeory

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top