[AstroPy] Plan to port astropy to python3?
Peter Erwin
erwin at mpe.mpg.de
Tue Jun 7 12:00:54 EDT 2011
On Jun 7, 2011, at 5:39 PM, Perry Greenfield wrote:
>
> On Jun 7, 2011, at 11:22 AM, Bridgman, William T. wrote:
>
>> This is the first I've heard that my main components of interest are
>> ALL working on Python 3.
>>
>> Which means I will probably try a test installation of Python 3 on one
>> of my systems this summer.
>>
>> I want to make more use of threading on multi-core systems since
>> graphical rendering is a lot of 'embarrassingly parallel' type
>> processing.
>> http://en.wikipedia.org/wiki/Embarrassingly_parallel
>>
>> Tom
>>
> Threading in Python won't necessarily exploit multi-core systems very
> well. You may want to look at other alternatives in Python.
>
I believe the multiprocessing library (introduced in Python 2.6) is designed to
take advantage of mulitple cores (it spawns & communicates with separate processes,
rather than Python threads, which have to coexist within the parent Python
process).
(I haven't tried using it yet, though.)
=============================================================
Peter Erwin Max-Planck-Insitute for Extraterrestrial
erwin at mpe.mpg.de Physics, Giessenbachstrasse
tel. +49 (0)89 30000 3695 85748 Garching, Germany
fax +49 (0)89 30000 3495 http://www.mpe.mpg.de/~erwin
More information about the AstroPy
mailing list