omz / Pythonista-Issues

Issue tracker for Pythonista (iOS)
168 stars 14 forks source link

CFFI for Pythonista #36

Open dgelessus opened 8 years ago

dgelessus commented 8 years ago

https://cffi.readthedocs.io/

CFFI is an interface between Python and C - like ctypes, only better and easier to use. CFFI is largely written in pure Python, so it is possible to use CFFI with ctypes as a backend (which I've been doing for a while) but this is not officially supported. The native C backend is the officially supported way of using CFFI, and it provides some features that the ctypes backend doesn't have, such as caching parsed data type/variable/function definitions. And the native backend is probably faster than the ctypes backend.

dgelessus commented 8 years ago

@lukaskollmer Shouldn't it be module-request?