Is there a SWIG module for Squeak?

Doug Way dway at riskmetrics.com
Thu Sep 6 23:26:52 UTC 2001


Douglas Brebner wrote:
> 
> Hi,
> 
> Has anyone made a SWIG module for automatically generating the wrapper code
> to make arbitrary C/C++ libraries available as pluggable primatives?

I believe the answer to this is no, unless someone has been working on this in secret.  Might be a useful project for someone.

On the other hand, FFI (the Foreign Function Interface) may be sufficient for calling arbitrary C/C++ libraries from Squeak.  See http://minnow.cc.gatech.edu/squeak/1414

(I've used SWIG before with Tcl and Python (see http://www.swig.org), but I haven't really played with FFI in Squeak much.  Is FFI basically equivalent to SWIG?)

- Doug Way
  dway at riskmetrics.com




More information about the Squeak-dev mailing list