[Python-ideas] Optimistic Concurrency

Collin Winter collinw at gmail.com
Sun Oct 19 23:25:31 CEST 2008

On Tue, Oct 14, 2008 at 9:17 AM,  <skip at pobox.com> wrote:
> Is optimistic concurrency
>    http://en.wikipedia.org/wiki/Optimistic_concurrency_control
> a possible option for removing the GIL in Python?

Not really. Automatically retrying generic operations when there's a
conflict more-or-less requires a pure functional language, since you
want to absolutely minimize side-effects when you're replaying the
failed operation. See the implementation of STM in Haskell's GHC
compiler for more.

Collin Winter

More information about the Python-ideas mailing list