[Prev][Next][Index][Thread]
Re: Multiple dispatch / multimethods??
"Bryn Keller" <xoltar1@home.com> wrote in message 3B5E2752.362C1032@home.com">news:3B5E2752.362C1032@home.com...
>
>
> "Peter S. Housel" wrote:
>
> > It would certainly be possible to create a tool that would parse a set of
> > C++ headers and create an 'extern "C"' shim for the public interface, which
> > could then be interfaced to other languages. I don't know of any such tool
> > currently in existence though.
> >
> > Cheers,
> > -Peter S. Housel- housel@acm.org http://members.home.com/housel/
>
> Isn't this exactly what SWIG (www.swig.org) does? Most of the languages that
> use SWIG only (or primarily) interface with C, but I know that (e.g.) wxWindows
> and Qt (both C++ GUI toolkits) are made palatable enough that languages such as
> Python, Ruby, Java, and Scheme can interface with them. How feasible would it
> be to write a SWIG binding for Dylan?
Bryn,
Hmm, it's amazing what's tucked away in obscure corners of the net!
Thanks for pointing that out, I didn't know it existed ;-)
Cheers,
Mark Jordan.
References: