Subject: Re: Why no standard foreign language interface?
From: Erik Naggum <>
Date: 2000/02/11
Newsgroups: comp.lang.lisp
Message-ID: <>

* "Fernando D. Mato Mira" <>
| Automatic FFI generation from C++ header files is far from trivial.

  it may help to read what I write if you want to pose counter-arguments to
  it instead of counter-arguments to something I didn't say.

  C++ sucks.  to interface to C++, you need wrapper code in C++ that makes
  it possible to interface Common Lisp to the wrapper code.  this code may
  well be strictly C-compatible, as in `extern "C"'.

| For C, you can easily write a FFIGEN `backend' adapted to your CL
| implementation.  That's true.

  so what prohibits you from being smart and utilizing this fact when
  dealing with the utter braindamage of C++?  my answer: nothing.  it's
  better to waste time in wrapper code than on stupid programmer tricks.