root/trunk/thirdparty/cffi/README

Revision 3997, 0.9 KB (checked in by hans, 2 years ago)

Update CFFI and Alexandria for SBCL-1.0.20 compatibility.

Line 
1
2CFFI, the Common Foreign Function Interface, purports to be a portable
3foreign function interface, similar in spirit to UFFI.
4
5Unlike UFFI, CFFI requires only a small set of low-level functionality
6from the Lisp implementation, such as calling a foreign function by
7name, allocating foreign memory, and dereferencing pointers.
8
9More complex tasks like accessing foreign structures can be done in
10portable "user space" code, making use of the low-level memory access
11operations defined by the implementation-specific bits.
12
13CFFI also aims to be more efficient than UFFI when possible.  In
14particular, UFFI's use of aliens in CMUCL and SBCL can be tricky to
15get right.  CFFI avoids this by using system area pointers directly
16instead of alien objects.  All foreign function definitions and uses
17should compile without alien-value compiler notes in CMUCL/SBCL.
18
19Please consult the manual for further details, including installation
20instructions.
Note: See TracBrowser for help on using the browser.