On Fri, Sep 8, 2017 at 8:54 PM, Michel Desmoulin <desmoulinmichel@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.
Note that subinterpreters share the GIL currently, and the objects you can pass between interpreters will be quite restricted initially. However, the ultimate goal is to stop sharing the GIL between interpreters and to broaden the types that can be passed between interpreters. Regardless, the isolation inherent to subinterpreters provides benefits immediately. -eric