Generic Bridges
Stephen Pope
stp at create.ucsb.edu
Wed Dec 9 19:36:45 UTC 1998
C. Keith Ray wrote:
> Does anyone on this mailing list have experience implementing distributed
> objects in smalltalk?
>
> It seems those techniques could also allow calling into specific squeak
> objects from outside squeak.
I've done it several times for various dialects of Smalltalk. It's pretty
trivial to write a simple socket-based protocol for passing objects and messages
between Smalltalk images, or between Smalltalk and C/C++. The solutions can
range from a very lightweight packet protocol to full-blown mini-ORBs. Squeak's
provision of simple socket I/O makes it even easier. The fact that primitives
can signal Smalltalk semaphores makes call-ins to Smalltalk from outside a
breeze (e.g., look at the [non-polling] MIDI input code in Siren).
--
stp
Stephen Travis Pope
stp at create.ucsb.edu -- http://www.create.ucsb.edu/~stp/
More information about the Squeak-dev
mailing list
|