On 12/22/05, Steve Freitas <[EMAIL PROTECTED]> wrote: > Hi, > > Since one of the suggested tasks for cl-gardners is to provide summaries > of similar libraries, I figured this question should be right up your > alley! > > I'm fairly new to Lisp. Despite this (!), I'd like to provide an FFI > interface to libevent (http://www.monkey.org/~provos/libevent/ ). > However, there are a bunch of competing FFIs: CFFI, UFFI, Hello-C, > Verrazano, etc., and I'm not sure which to use. High on my list of > concern is, of course, support for callbacks, and cross-lisp > compatibility. (May that last phrase be thoroughly worthless five years > from now, ugh.) If I have to choose, though, I'd prefer an FFI that > works flawlessly with SBCL and CMUCL. > > So could somebody with a good overview of this soften my landing into > the wild and woolly world that is Lisp FFIs? > > Thanks! > > Steve Freitas > I think CFFI is the only one that does callbacks and is well supported. Hello-C does callbacks, but I don't know much other than it is Kenny Tilton's baby. Verrazano is not an FFI, it is a generater for FFI declarations. Feed it some C, get some bindings.
I haven't had a need for FFI in the last year, so I haven't played with it, but CFFI looks really well documented and well supported. _______________________________________________ Gardeners mailing list [email protected] http://www.lispniks.com/mailman/listinfo/gardeners
