[Python-ideas] solving multi-core Python

Eric Snow ericsnowcurrently at gmail.com
Wed Jun 24 06:21:33 CEST 2015


On Sun, Jun 21, 2015 at 4:57 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> I'd want us to eventually aim for zero-copy speed for at least known
> immutable values (int, str, float, etc), immutable containers of
> immutable values (tuple, frozenset), and for types that support both
> publishing and consuming data via the PEP 3118 buffer protocol without
> making a copy.
>
> For everything else I'd be fine with a starting point that was at
> least no slower than multiprocessing (which shouldn't be difficult,
> since we'll at least save the IPC overhead even if there are cases
> where communication between subinterpreters falls back to
> serialisation rather than doing something more CPU and memory
> efficient).

Makes sense.

-eric


More information about the Python-ideas mailing list