Integrating another library in squaeak

Markus Gaelli gaelli at emergent.de
Thu Mar 23 14:36:46 UTC 2006


Ni Nelson,

>
>
>
> Right! Another unconventional and probably faster way to connect from
> Squeak to Python via sockets would be to use OSC.
> http://minnow.cc.gatech.edu/squeak/5836
>
> Cheers,
>
> Markus
>
>
> Thank Marcus for your answer.  I see OSC, but it seems too linked  
> to sound applications :)

That's what it says - but it is a misnomer in my humble opinion.

What it does is to provide an easy to use interface to send some  
messages with integers, strings, symbols, floats etc  from one OSC- 
enabled application to another, be it on the same computer or  
somewhere else.

I cannot find anything sound related in the specification of OSC:
http://www.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html

Guess the skepticism stems from the fact that "udp does not provide  
the reliability and ordering guarantees that tcp does", which makes  
it certainly more suitable for media streaming than for power plant  
controlling. ;-)
- Right now the squeak-version is based on udp but it would be easy  
to change it to tcp.

Conclusion
If you really considered Soap, you might as well consider OSC.
Advantage: Probably faster than Soap
Disadvantage: You might have to enable both OSC implementations on  
Squeak and Python using tcp, if you wanted to be on the "100%" sure  
side.

Cheers,

Markus

> I want to control from Squeak a remote object written in Python,  
> that's my goal :)
>
> nelson
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060323/f8024d3c/attachment.htm


More information about the Squeak-dev mailing list