On Tue, Jun 19, 2012 at 4:58 AM, Sturla Molden wrote:
> On 18.06.2012 16:12, Stefan Behnel wrote:
>
>> the PyPy folks have come up with a new FFI library (called cffi) for
>> CPython (and eventually PyPy, obviously).
>
>
> It looks like ctypes albeit with a smaller API. (C definitions as text
> st
On 18.06.2012 16:12, Stefan Behnel wrote:
the PyPy folks have come up with a new FFI library (called cffi) for
CPython (and eventually PyPy, obviously).
It looks like ctypes albeit with a smaller API. (C definitions as text
strings instead of Python objects.)
Sometimes I think Python and a
On 12.06.2012 21:46, Dag Sverre Seljebotn wrote:
But for much NumPy-using code you'd typically use int32 or int64, and
since long is 32 bits on 32-bit Windows and 64 bits on Linux/Mac,
choosing long sort of maximises inter-platform variation of signatures...
The size of a long is compiler depe