External Libs (was Re: libcurl?!)
Kevin Fisher
kgf at golden.net
Thu Nov 1 13:09:05 UTC 2001
Ditto here...
I had a simple class that used FFI to call some functions in an external
library. For some reason, FFI no longer works for me on UNIX so I bought
the "NuBlue" book and read the chapter on making plugins...and it made my
head spin. I'm sure I just need to re-read the chapter and look at some
working examples, but FFI is much simpler for 'quick and dirty'
experimentation.
On Wed, Oct 31, 2001 at 02:41:42PM -0500, Stephen Pair wrote:
> I know...but I like the simplicity of FFI. If you have a pre-compiled
> library (DLL) in hand, you can call it directly with FFI without needing
> to translate and compile anything.
>
> - Stephen
>
> > -----Original Message-----
> > From: squeak-dev-admin at lists.squeakfoundation.org
> > [mailto:squeak-dev-admin at lists.squeakfoundation.org] On
> > Behalf Of Tim Rowledge
> > Sent: Wednesday, October 31, 2001 11:40 AM
> > To: squeak-dev at lists.squeakfoundation.org
> > Subject: RE: External Libs (was Re: libcurl?!)
> >
> >
> > "Stephen Pair" <spair at advantive.com> is widely believed to
> > have written:
> >
> > > I think this is a great idea. It is really easy with FFI
> > to interface
> > > Squeak with external libs
> > As a general rule it will usually perform better if you write
> > a plugin to interface to the external library. You get the
> > chance to make a nice clean interface for the Squeak side,
> > you can handle structures effectively etc etc.
> >
> > tim
> >
> > --
> > Tim Rowledge, tim at sumeru.stanford.edu,
> > http://sumeru.stanford.edu/tim Useful > random insult:- Full of
> wisdumb.
> >
> >
> >
>
>
More information about the Squeak-dev
mailing list
|