SIMD powered Python

Paul Rubin http
Sat Jun 23 17:22:38 CEST 2007


Marc 'BlackJack' Rintsch <bj_666 at gmx.net> writes:
> > True... But maybe in NumPy arrays that would be more feasible...?
> 
> Yes but that's in external libraries and not in the Python interpreter.
> So it won't speed up Python code like list comprehensions but "just" calls
> to external functions written in C, Fortran or assembler if those make use
> of SIMD instructions.

Right, Python has such poor control over side effects that it has not
much chance of parallelizing stuff like list comprehensions in
general.  Maybe there's some chance of doing it for some special cases
with RPython.

See http://www.google.com/search?q="nested+data+parallelism"
for what's happening with some other languages.



More information about the Python-list mailing list