On Mon, Apr 29, 2013 at 5:25 PM, Konrad Hinsen <
googlegro...@khinsen.fastmail.net> wrote:

> --On 29 avril 2013 09:09:27 -0400 Lee Spector <lspec...@hampshire.edu>
> wrote:
>
>  On Apr 29, 2013, at 9:01 AM, Jonathan Fischer Friberg wrote:
>>
>>  You could always give 
>> https://github.com/halgari/**clojure-py<https://github.com/halgari/clojure-py>a
>>  spin,
>>> might not be so easy to get everything working though. :)
>>>
>>
>> It might be worth it, if we could still write in Clojure and get good
>> multicore utilization and good performance overall for our application.
>>
>> Is there evidence that code written/run this way will perform
>> particularly well?
>>
>
> No. The Python VM has a global interpreter lock that prevents parallel
> execution of Python bytecode. If you want to parallel processing in Python
> (more precisely, the CPython implementation), you must either port
> CPU-intensive stuff to C or Cython, or run multiple communicating CPython
> instances.
>
> Konrad.


clojure-py code should run on pypy, which is much more promising;
http://pypy.org/
The support for http://www.stackless.com/ is especially interesting.

Jonathan

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to