Re: solving multi-core Python
[Posted July 8, 2015 by jake]
| From: |
| Yury Selivanov <yselivanov.ml-Re5JQEeQqe8AvxtiuMwx3w-AT-public.gmane.org> |
| To: |
| python-ideas-+ZN9ApsXKcEdnm+yROfE0A-AT-public.gmane.org |
| Subject: |
| Re: solving multi-core Python |
| Date: |
| Sat, 20 Jun 2015 18:04:47 -0400 |
| Message-ID: |
| <5585E37F.4060403@gmail.com> |
Eric,
On 2015-06-20 5:42 PM, Eric Snow wrote:
> tl;dr Let's exploit multiple cores by fixing up subinterpreters,
> exposing them in Python, and adding a mechanism to safely share
> objects between them.
>
This is really great. Big +1 from me, and I'd be glad to help
with the PEP/implementation.
[...]
> * only allow immutable objects to be shared between subinterpreters
Even if this is the only thing we have -- an efficient way
for sharing immutable objects (such as bytes, strings, ints,
and, stretching the definition of immutable, FDs) that will
allow us to do a lot.
Yury
_______________________________________________
Python-ideas mailing list
Python-ideas-+ZN9ApsXKcEdnm+yROfE0A@public.gmane.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/