Subject: Re: Lisp & C
From: Erik Naggum <>
Date: 28 Oct 2000 09:42:09 +0000
Newsgroups: comp.lang.lisp
Message-ID: <>

* Daniel Kiracofe <>
| I've figured out how to get Lisp/Scheme to interface to my C code,
| but my problem is that my C code is multi-threaded.  Everything I
| found so far generally tends to allocate some global interpreter
| state, so it's not reentrant.  So, what I need is a Lisp/Scheme
| implementation that I can call from C, that is reentrant.  Any
| suggestions? TIA...

  Interprocess communication including shared memory and semaphores.
  I have started on a general package for this several times, but
  always end up specializing it into oblivion as far as generality and
  publishability is concerned.  I really do _not_ want C code that I
  don't trust to muck around in the Lisp memory.  I also tend to
  design my own protocols over sockets to make the coupling as loose
  as possible.  (The more common protocols use far too tight coupling
  for me qua protocols, and not at all tight enough if they pretend to
  be shared memory across the wire.)

  Does anyone remember where I parked Air Force One?
                                   -- George W. Bush