Dan Stromberg, 12.08.2010 07:57:
> I don't know much about Cython internals, but if something could be done
> that would facilitate Cython interop with Jython, IronPython, Pypy,
> clpython, hotpy and maybe even pyjamas (perhaps not pyjamas because pyjamas
> is going to mostly be used for running things in a browser without a
> plugin), that would probably be a very good thing for Python in general.

Yes, I think Cython would be the right tool to enable this. At least the 
platforms that have some kind of CPython C-API compatible layer should be 
relatively easy to target in a first run, and Cython could apply some 
adaptations in the C code to make them run better (e.g. avoid some special 
casing of builtins that proves to be hard to port or inefficient to emulate).


>   Pypy is probably the most noteworthy Python implementation that seems to be
> getting left out of the discussion so far

True. Although they do have a compatibility layer by now, I bet there is 
lots of stuff that could be done in the code that Cython generates to make 
extensions run faster/better/safer with PyPy.

I'll take the heresy to ask on their mailing list if they think there's 
anything Cython can do.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to