[Python-Dev] PEP 554 v2 (new "interpreters" module)
Nathaniel Smith
njs at pobox.com
Sat Sep 9 13:54:53 EDT 2017
More information about the Python-Dev mailing list
Sat Sep 9 13:54:53 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 554 v2 (new "interpreters" module)
- Next message (by thread): [Python-Dev] PEP 554 v2 (new "interpreters" module)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sep 9, 2017 9:07 AM, "Nick Coghlan" <ncoghlan at gmail.com> wrote: To immediately realise some level of efficiency benefits from the shared memory space between the main interpreter and subinterpreters, I also think these low level FIFOs should be defined as accepting any object that supports the PEP 3118 buffer protocol, and emitting memoryview() objects on the receiving end, rather than being bytes-in, bytes-out. Is your idea that this memoryview would refer directly to the sending interpreter's memory (as opposed to a copy into some receiver-owned buffer)? If so, then how do the two subinterpreters coordinate the buffer release when the memoryview is closed? -n -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170909/bb15085e/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 554 v2 (new "interpreters" module)
- Next message (by thread): [Python-Dev] PEP 554 v2 (new "interpreters" module)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list