Romain Guillebert, 18.04.2011 17:55:
I investigated the code produced by Cython, and I see 3 cases which
should be handled :
* A pure python variable which has a value assigned (including None)
* A pure python variable which has no value assigned
* A C variable (we can't test if they are set of
Hi
I investigated the code produced by Cython, and I see 3 cases which
should be handled :
* A pure python variable which has a value assigned (including None)
* A pure python variable which has no value assigned
* A C variable (we can't test if they are set of not)
The first and second one seem
Romain Guillebert, 07.04.2011 17:01:
I proposed the Summer of Code project regarding the Python backend for
Cython.
As I said in my proposal this would translate Cython code to Python +
FFI code (I don't know yet if it will use ctypes or something specific
to PyPy). PyPy's ctypes is now really f
[fixed up the citation order]
Romain, 07.04.2011 22:36:
2011/4/7 Carl Witty
On Thu, Apr 7, 2011 at 9:06 AM, Dag Sverre Seljebotn wrote:
This seems similar to Carl Witty's port of Cython to .NET/IronPython. An
important insight from that project is that Cython code does NOT specify
an
ABI, o
Hi again
PyPy has functions to parse C headers to get macros and constants so I could
create C functions to wrap the macros and probably inline constants in the
Python part of the wrapper. This doesn't solve the problem of ifdefs but
this is a start.
Cheers
Romain
2011/4/7 Carl Witty
> On Thu,
On Thu, Apr 7, 2011 at 9:06 AM, Dag Sverre Seljebotn
wrote:
> This seems similar to Carl Witty's port of Cython to .NET/IronPython. An
> important insight from that project is that Cython code does NOT specify an
> ABI, only an API which requires a C compiler to make sense. That is; many
> wrapped
On Thu, Apr 7, 2011 at 9:06 AM, Dag Sverre Seljebotn
wrote:
> On 04/07/2011 05:01 PM, Romain Guillebert wrote:
>>
>> Hi
>>
>> I proposed the Summer of Code project regarding the Python backend for
>> Cython.
>>
>> As I said in my proposal this would translate Cython code to Python +
>> FFI code (I
On 04/07/2011 05:01 PM, Romain Guillebert wrote:
Hi
I proposed the Summer of Code project regarding the Python backend for
Cython.
As I said in my proposal this would translate Cython code to Python +
FFI code (I don't know yet if it will use ctypes or something specific
to PyPy). PyPy's ctypes
Hi
I proposed the Summer of Code project regarding the Python backend for
Cython.
As I said in my proposal this would translate Cython code to Python +
FFI code (I don't know yet if it will use ctypes or something specific
to PyPy). PyPy's ctypes is now really fast and this will allow people to
p