On 21/01/13 12:16, Linker Lin wrote:
> On Jan 21, 2013, at 5:08 PM, Amaury Forgeot d'Arc <amauryfa@...
> <mailto:amauryfa@...>> wrote:
>> 2013/1/21 Linker Lin <linker.lin@... <mailto:linker.lin@...>>
>> Is there any plan for support Cython?
>> What kind of support would you expect?
>> Cython is a bit similar to SWIG in that it generates extension modules
>> for Python,
>> and is good at integrating with C libraries.
>> (it's also a kind of Python compiler, which bypasses the interpreter
>> eval loop, but
>> this is probably not relevant here)
>> The main difference is the language used to describe this extension: SWIG
>> is essentially an extension of the C language whereas Cython is an
>> extension of
>> the Python syntax.
>> I don't see the use of SWIG generating Cython code, for example.
> To speed up the wrapper and for hiding source code.
These might be lofty ideals, but I don't understand how you'd use SWIG
for supporting Cython either. Can you answer Amaury's questions or
detail what you mean? A simple example of what you'd see as inputs and
generated outputs perhaps?