{} wrote:
> Hi.  I'm completely new to Cython.
> 
> As I understand, I can call Cython code from C, as it's said in the FAQ.
> 
> Therefore, it would be possible to call Cython code from Objective-C.  So I 
> can develop an iPhone application written mostly in Cython, and then convert 
> it to Objective-C code, right?  Or am I missing anything?

Cython is not a pure Python -> C translator, instead it genereates 
C/Python extension modules which depends on a running Python instance 
(the Python version from python.org, not Jython or IronPython or similar).

 From the perspective of making Cython run on the iPhone, it is exactly 
the same as making C extensions for Python run on the iPhone.

Cython code cannot run standalone.

> How?  How would you write a simple Hello World Cython iPhone application?

You should seek out iPhone development forums and ask again there. You 
need to be able to run the official Python (from python.org), and 
compile and install a custom C extension modules yourself. Then come 
back here and ask again if something is not working out at that stage.

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

Reply via email to