Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24782
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | John Nagle <nagle@animats.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: when "normal" parallel computations in CPython will be implemented at last? |
| Date | Mon, 02 Jul 2012 10:51:36 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 24 |
| Message-ID | <jssn38$prp$1@dont-email.me> (permalink) |
| References | <339f28b0-1305-43b9-b2b1-02e332bc80e3@q29g2000vby.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 2 Jul 2012 17:51:36 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="vhuwchaW+knal8j7kYkZNg"; logging-data="26489"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Zs/T2P+B3QBitCkIQdBu2" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
| In-Reply-To | <339f28b0-1305-43b9-b2b1-02e332bc80e3@q29g2000vby.googlegroups.com> |
| Cancel-Lock | sha1:YYfTxMBJq11GsFgkCgo7dwizg5c= |
| Xref | csiph.com comp.lang.python:24782 |
Show key headers only | View raw
On 7/1/2012 10:51 AM, dmitrey wrote:
> hi all,
> are there any information about upcoming availability of parallel
> computations in CPython without modules like multiprocessing? I mean
> something like parallel "for" loops, or, at least, something without
> forking with copying huge amounts of RAM each time and possibility to
> involve unpiclable data (vfork would be ok, but AFAIK it doesn't work
> with CPython due to GIL).
>
> AFAIK in PyPy some progress have been done (
> http://morepypy.blogspot.com/2012/06/stm-with-threads.html )
>
> Thank you in advance, D.
>
It would be "un-Pythonic" to have real concurrency in Python.
You wouldn't be able to patch code running in one thread from
another thread. Some of the dynamic features of Python
would break. If you want fine-grained concurrency, you need
controlled isolation between concurrent tasks, so they interact
only at well-defined points. That's un-Pythonic.
John Nagle
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
when "normal" parallel computations in CPython will be implemented at last? dmitrey <dmitrey15@gmail.com> - 2012-07-01 10:51 -0700
Re: when "normal" parallel computations in CPython will be implemented at last? Thomas Jollans <t@jollybox.de> - 2012-07-01 20:53 +0200
Re: when "normal" parallel computations in CPython will be implemented at last? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2012-07-01 16:03 -0400
Re: when "normal" parallel computations in CPython will be implemented at last? Thomas Jollans <t@jollybox.de> - 2012-07-01 20:58 +0200
Re: when "normal" parallel computations in CPython will be implemented at last? Andrew Berg <bahamutzero8825@gmail.com> - 2012-07-01 14:09 -0500
Re: when "normal" parallel computations in CPython will be implemented at last? Thomas Jollans <t@jollybox.de> - 2012-07-01 21:36 +0200
Re: when "normal" parallel computations in CPython will be implemented at last? John Nagle <nagle@animats.com> - 2012-07-02 10:51 -0700
Re: when "normal" parallel computations in CPython will be implemented at last? Tim Roberts <timr@probo.com> - 2012-07-03 20:16 -0700
Re: when "normal" parallel computations in CPython will be implemented at last? Stefan Behnel <stefan_ml@behnel.de> - 2012-07-02 20:37 +0200
csiph-web