Would you advise me on whether it is possible to create executable with
SBCL such that would be then possible to call from other language
runtimes? Something like C language foreign function interface, for
I would be happy to gather any info on this subject. I.e. even if it is
theoretically possible, but haven't been done before, that is
If you care to know, it's for my hobby project, so there's no urge to
have it immediately available. I'm contemplating to write and embedded
graph database and for several reasons would like to do it in Lisp. So,
if you may think about other (possible) limitations, I would be grateful
if you could share them. So far I'm only probing the ground.
From: Left Right <olegsivokon@gm...> - 2013-10-06 09:08:08
Thanks a lot Frank!
Exactly what I needed.
On Sun, Oct 6, 2013 at 10:44 AM, Frank Goenninger <dg1sbg@...> wrote:
> Hi Oleg,
> Am 06.10.13 00:08 schrieb "Oleg Sivokon" unter <olegsivokon@...>:
>>Would you advise me on whether it is possible to create executable with
>>SBCL such that would be then possible to call from other language
>>runtimes? Something like C language foreign function interface, for
> Lisp to C (so, calling C from Lisp):
> Use CFFI to define your C data structures using defstruct and your C
> functions using defcfun and then "just use" (there's a bit more to it, see
> C to Lisp:
> CFFI provides #'defcallback for this kind of task.
> Good luck!
> C o n s e q u o r C o n s u l t i n g A G
> Frank Gönninger
> Mobil: +49 175 43 21 058
> E-Mail: frank.goenninger@...
> Telefon: +49 711 781181 10
> Fax: +49 711 781181 11
> Consequor Consulting AG
> Liebknechtstr. 33
> D-70565 Stuttgart, Germany
> Vorstand: Frank Gönninger
> Aufsichtsratsvorsitzender: Dipl.-Kfm. Matthias Filbinger
> Sitz der Gesellschaft: 70565 Stuttgart, Deutschland
> Registergericht Amtsgericht Stuttgart HRB 727446