[plt-scheme] C++ Bindings using FFI

From: Eli Barzilay (eli at barzilay.org)
Date: Sat May 6 02:47:03 EDT 2006

On May  6, Hans Oesterholt-Dijkema wrote:
> Maybe a combination of SWIG and the FFI can be used.

I don't know if SWIG can handle C++, but in any case, mixing SWIG and
the Scheme foreign interface is not a good idea since both do the same
thing.  To interface with C++ in an easy way through the Scheme
interface, it may be possible to write a C interface layer, and use
that from Scheme -- but it might be limited in the same way that C is
limited in talking to C++.
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.