[ANSI-Smalltalk] Foreign Function Interface

Paolo Bonzini paolo.bonzini at lu.unisi.ch
Fri Nov 16 15:26:56 GMT 2007


Bruce Badger wrote:
> Another area that springs to mind is that of Foreign Function Interface (FFI):
> 
>    http://en.wikipedia.org/wiki/Foreign_function_interface
> 
> A consistent FFI for Smalltalk would be a great thing.  This would be
> way outside anything I would be qualified to look at, but I think it
> is important nonetheless.

I think most people are seeking portability of *OS-portable* 
applications between dialects.  Therefore, I think we can live with this 
not being portable.

The dialects never had anything in common for FFI, and the differences 
are hard to reconcile; also, these days C header parsers (either 
supplied with the development environment, or free ones such as SWIG) 
are often used, and it would be easier to port one of these to a 
dialect's FFI than to write Smalltalk code by hand.

Paolo



More information about the ANSI-Smalltalk mailing list