On Nov 28, 2008, at 10:34 AM, Dag Sverre Seljebotn wrote:
> {} 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.
Note that one can embed the Python interpreter to get a standalone
executable.
>
>> 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.
Yes, I'm sure they'd know a lot more about this than any of us do :).
Please report back any success.
- Robert
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev