[Python-ideas] [Python-Dev] [ANN]: "newthreading" - an approach to simplified thread usage, and a path to getting rid of the GIL

Antoine Pitrou solipsis at pitrou.net
Tue Jun 29 01:40:23 CEST 2010


On Mon, 28 Jun 2010 16:09:55 -0700
Guido van Rossum <guido at python.org> wrote:
> I'm moving this thread to python-ideas, where it belongs.
[...]

For the record, I really think the solution to the "try to remove the
GIL" problem is to... try to remove it.
I believe it implies several preparatory steps:
- take full control of memory allocation
- on top of that, devise a full garbage collector (probably including a
  notion of external references such that existing ways of writing C
  extensions are still correct)
- then, do the the tedious, delicate grunt work of adding locking to
  critical structures without slowing them down (too much)

Trying to invent schemes to make multithreading easier to program with
is a nice endeavour in itself, but quite orthogonal IMO.

Regards

Antoine.





More information about the Python-ideas mailing list