[Python-Dev] Re: PoC: Subinterpreters 4x faster than sequential execution or threads on CPU-bound workaround

2020年5月06日 10:04:24 -0700

On Tue, 5 May 2020 18:59:34 -0700
Nathaniel Smith <[email protected]> wrote:
> On Tue, May 5, 2020 at 3:47 PM Guido van Rossum <[email protected]> wrote:
> >
> > This sounds like a significant milestone!
> >
> > Is there some kind of optimized communication possible yet between 
> > subinterpreters? (Otherwise I still worry that it's no better than 
> > subprocesses -- and it could be worse because when one subinterpreter 
> > experiences a hard crash or runs out of memory, all others have to die with 
> > it.) 
> 
> As far as I understand it, the subinterpreter folks have given up on
> optimized passing of objects, and are only hoping to do optimized
> (zero-copy) passing of raw memory buffers.
Which would be useful already, especially with pickle out-of-band
buffers.
Regards
Antoine.
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/GW56W4ELTFRWINYNVO7MDYQROQ7NNDE2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to