Clojure has always been a compiled language. It has always been a language that aims for popular platforms. These are major points for a cpython implementation.
I doubt that execution speed is the main concern of many py-clojure users.
With cpython py-clojure can be used in places where there is no java. If there is no py-clojure, people will start to learn java. I did.
Hat being said, PyPy is an exciting beast. It is just that a PyPy module will have less impact compared to a cpython version.
Ulrich
--On 23 mai 2012 14:09:43 -0500 Timothy Baldridge <tbald...@gmail.com> wrote:PyPy runs Python modules, but the vast majority of "extension modules" (compiled modules written in C, C++, Cython...) are not compatible with PyPy at this time. For some Python applications (in particular scientific computing, which is what I know best), this makes PyPy next to useless. The huge collection of extension modules, many of which are interfaces to libraries written in C or Fortran, is one of the main reasons why scientists use Python.
So, if we included Clojure as a PyPy module, then users would be
forced to download PyPy, but they could still use Python modules,
ctypes, etc. From Clojure-Py. So what I'm debating is if all this is
worth it? Do you think we'd alienate too many people by going to a
PyPy only model?
PyPy support for CPython extension modules has improved over time, but does not seem to be the PyPy developpers' priority.
I wonder how much effort it would be to aim for several goals in parallel. Writing the support code in RPython doesn't make it unsuitable for CPython. If we had both an interpreter layer for PyPy *and* a compiler to Python bytecode, both sharing much of the support code, we could cater for both the CPython platform and the PyPy platform. The compiler could even be based on ClojureScript, to satisfy everyone.
Konrad.