Re: greenlets and how they can be used

2009-01-05 Thread James Mills
On Tue, Jan 6, 2009 at 4:39 AM, Benjamin Walkenhorst wrote: > James Mills wrote: >> On Sun, Jan 4, 2009 at 4:52 AM, Benjamin Walkenhorst wrote: >>> POE was one of the nicest software frameworks I have ever used, and I've >>> been continuously frustrated by the lack of something like it in other

Re: greenlets and how they can be used

2009-01-04 Thread James Mills
On Sun, Jan 4, 2009 at 4:52 AM, Benjamin Walkenhorst wrote: > Back when I was still using Perl, there was - and still is, I guess - a > really nice framework called POE, that allowed you to write event-driven > state machines in a really easy and pleasant way. Under POE, EVERYTHING was > an eve

Re: greenlets and how they can be used

2009-01-03 Thread Mark Wooding
James Mills wrote: > The "greenlet" from http://codespeak.net/py/dist/greenlet.html > is a rather interesting way of handling flow of control. Ahh, yes. It's actually a rather old idea, but too rarely used. > What can "greenlet"'s be used for ? What use-cases have you guys used > them for (if

Re: greenlets and how they can be used

2008-12-31 Thread James Mills
On Thu, Jan 1, 2009 at 9:24 AM, Aaron Brady wrote: (snip) > I had a dream for a while that in a GUI framework, every event would > spawn a unique thread. The GUI would remain responsive even while > executing minor tasks. Of course, shaving a second off running time > isn't exactly mission-crit

Re: greenlets and how they can be used

2008-12-31 Thread Aaron Brady
On Dec 30, 9:40 pm, "James Mills" wrote: > Hey all, > > The "greenlet" fromhttp://codespeak.net/py/dist/greenlet.html > is a rather interesting way of handling flow of control. > > I can't seem to find anything else on the subject > except for the above link and the most recent version > 0.2 and i

greenlets and how they can be used

2008-12-30 Thread James Mills
Hey all, The "greenlet" from http://codespeak.net/py/dist/greenlet.html is a rather interesting way of handling flow of control. I can't seem to find anything else on the subject except for the above link and the most recent version 0.2 and it's tests. What can "greenlet"'s be used for ? What us