[Python-Dev] PEP 554 v2 (new "interpreters" module)

Nathaniel Smith njs at pobox.com
Sat Sep 9 01:14:06 EDT 2017


On Fri, Sep 8, 2017 at 8:54 PM, Michel Desmoulin
<desmoulinmichel at gmail.com> wrote:
>
> Le 09/09/2017 à 01:28, Stefan Krah a écrit :
>> Still, the argument "who uses subinterpreters?" of course still remains.
>
> For now, nobody. But if we expose it and web frameworks manage to create
> workers as fast as multiprocessing and as cheap as threading, you will
> find a lot of people starting to want to use it.

To temper expectations a bit here, it sounds like the first version
might be more like: as slow as threading (no multicore), as expensive
as multiprocessing (no shared memory), and -- on Unix -- slower to
start than either of them (no fork).

-n

-- 
Nathaniel J. Smith -- https://vorpus.org


More information about the Python-Dev mailing list