multi-core-python
multi-core-python copied to clipboard
Enabling CPython multi-core parallelism via subinterpreters.
I believe our sub-interpreters work in PEP 554 can be greatly enhanced with the ideas of the [PyParallel ](https://github.com/pyparallel/pyparallel) project. Since we're no longer going to share the GIL between...
Right now, forcing the user to write explicit code when calling `run()` isn't convenient. We could accept a code object instead or fetch it from a callable using inspect.
(also other subinterpreters users, e.g. Ceph) (also feedback from Graham)
I am sure you are aware but this approach sounds very similar to the way the BEAM languages work. Lightweight "processes" managed by the BEAM VM that don't share any...
(https://bugs.python.org/issue37292) ORIGINAL POST: ------------------ As of CPython 3.8.0b1, main branch (please let me know if there's a different branch I should use): If one pickles an object that is defined...
A few things have changed since the last time the PEP was updated: - [ ] ... - [ ] ... - [ ] ...
One of the big blockers for PEP554 and different Python VM implementations is the use of module state in static globals. Getting rid of this would mean the full migration...
https://bugs.python.org/issue37224 ~https://bugs.python.org/issue33868~ ~https://bugs.python.org/issue33356~
At the Python core sprint this year I asked @scoder about Cython support for subinterpreters. He explained that Cython implements PEP 489 (multi-phase init) but does not support subinterpreters (even...
Currently PEP 554 [states](https://www.python.org/dev/peps/pep-0554/#id72 ), that the idea of channels acting like queues was rejected. I'm a bit surprised about that as single-producer-single-consumer queues (e.g. a ring buffer) are basically...