Den 08.03.2011 17:04, skrev Stefan Behnel:
Could you elaborate what you are referring to here?

Nothing, except my own ignorance :-)

As for OpenMP I'd like to add that closures in Cython/Python more cleanly map to Apple's "grand central dispatch" than OpenMP.

Yet a third way to easy parallel computing is OpenCL. OpenCL can run on GPU or CPU, depending on driver. Python (or Cython) is a fantastic language for OpenCL, particularly using NumPy and PyOpenCL.

Support for anonymous blocks would clean up the syntax if we try to support OpenMP (either way), but Python BDFL hates then (many have asked). It could be a decorator with a <suite> or a decorator over a for-loop.

Sturla


_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to