[plt-scheme] C++ Bindings using FFI

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Sat May 6 17:50:29 EDT 2006

On 06/05/06, Hans Oesterholt-Dijkema <hdnews at gawab.com> wrote:
>
> >> A combination of a CASE tool like SWIG and a good foreign
> >> interface in PLT scheme could releave programmers of of a great
> >> deal of the the burden hand coding scheme bindings.
> >>
> >
> > Don't understand how to use both if like Eli said, they both seem to
> > do the same.
> >
> SWIG is a parser and a generator. The current generator generates C glue
> code. Instead of generating C glue code, FFI (i.e. scheme) glue code could
> be generated.
>

Can't understand why not use FFI and dump Swig? Seems cleaner to me
and GTK+  is C, no doesn't seem to be a problem.

> Best regards,
>
> Hans
>
>


--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Posted on the users mailing list.