From: <ded...@ya...> - 2012-02-17 19:10:09
|
>Sbcl manual says that calling LISP from C is hackish and poorly >supported, and does not provide any detail. In practice, doing this in >ACL is extremely hackish as well, with various issues and >restrictions. But it was documented enough for me to make it work. > >Has anyone had any experience with calling lisp from C in sbcl? I'd >like to know if this is worth my time, or I should look for a >different LISP distribution. I'd consider alternatives to directly >calling LISP from C, e.g., if it would be possible to have a thread >sleeping in LISP and woken up from C (but it's not obvious to me that >it would work from the manuals, either). My experience with using FUSE with Lisp (it is _all_ about callbacks) shows that a callback into lisp done by C code inside a Lisp-launched thread generally works. C-launched threads plus callbacks are a recipe for pain. |