Re: [Python-ideas] yield from multiple iterables (was Re: The async API of the future: yield-from)

Hi Greg: Message: 2 Date: Tue, 23 Oct 2012 12:48:39 +1300 From: Greg Ewing <greg.ewing@canterbury.ac.nz> To: "python-ideas@python.org" <python-ideas@python.org> Subject: Re: [Python-ideas] yield from multiple iterables (was Re: The async API of the future: yield-from) Message-ID: <5085DB57.4010504@canterbury.ac.nz> Content-Type: text/plain; charset=UTF-8; format=flowed
It does, in the sense that a continuation appears to the Scheme programmer as a callable object.
There is a really nice Microsoft Research called "Cooperative Task Management without Manual Stackless Management."[1] In this paper, the authors introduce the term "stack ripping" to describe how asynchronous events with callbacks handle memory. I think this is a nice way to describe the fundamental differences between continuations and Twisted callbacks/deferred. Cheers, Andrew [1] http://research.microsoft.com/apps/pubs/default.aspx?id=74219
participants (1)
-
Andrew Francis