shy stackless Re: ANNOUNCE: xsdb -- the eXtremely Simple Database goes alpha
Fredrik Lundh
fredrik at pythonware.com
Thu Dec 11 01:29:27 EST 2003
Aaron Watters wrote:
> ANNOUNCE: xsdb -- the eXtremely Simple Database goes alpha
now, how cool is this. hugunin and watters both reappear after
many years, on nearly the same day, both with stuff that shows
that they didn't really give up on Python hacking; they've just
been working on the perfect design...
> In order to allow transactions to wait the options are:
>
> 1) Use an event loop and write the application "inside out",
> much like a fortran 4 program attempting to emulate recursion.
>
> 2) Use operating system threads (which have very high overhead
> and sometimes don't really work the same across different
> platforms...)
>
> 3) Use stackless.
>
> 4) punt: automatically abort any transaction which needs
> to wait.
5) use an event loop and use a generator for the relevant code;
when you discover that you need to pause, yield to the framework.
</F>
More information about the Python-list
mailing list