On Dec 22, 2005, at 9:08 AM, Andy Cristina wrote:

> 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.

Andy, maybe you could put a very slightly expanded version of this  
message (maybe with some relevant links) on the ALU Wiki. Not  
necessarily as a Gardener's project or anything, just a regular  
informational page. Then other folks can fill in any details and/or  
opinions about the various choices. I for one have always been pretty  
confused about how the various FFI projects relate to each other,  
especially recently. For instance, I had the impression that CFFI was  
somehow related (forked off of, inspired by, something) Hello-C.  
Anyway, capturing this kind of information on the ALU Wiki seems like  
a nice bit of gardening to do.

-Peter

-- 
Peter Seibel           * [EMAIL PROTECTED]
Gigamonkeys Consulting * http://www.gigamonkeys.com/
Practical Common Lisp  * http://www.gigamonkeys.com/book/


_______________________________________________
Gardeners mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/gardeners

Reply via email to