[Pharo-project] FFI & Python
krishnamachari.sudhakar at gmail.com
Thu Sep 6 10:02:59 EDT 2012
I have a fairly simple XMLRPC interface working.. but then that is no
substitute to direct interface..
I like the simplicity of the python binding from Smalltalk..
On Thu, Sep 6, 2012 at 11:38 AM, phil at highoctane.be <phil at highoctane.be>wrote:
> Can't you just get the current implementation run as a separate
> process managing that main variable along with some web/TCP interface
> and get that working through Zinc or OSProcess with a control script?
> I am currently experimenting with CUDA (same kind of freaking
> interfacing) and frankly, the quickest way to see some progress and
> understand what's going on has been to use OSProcess to compile what I
> need, ship the code to the card etc. No FFI etc. Just make a neat
> little set of scripts.
> FWIW, I also leverage Tcl quite often to wrap C stuff (Yeah, I love
> homoiconic languages - ah, can't resist:
> http://en.wikipedia.org/wiki/Homoiconicity). And also, SWIG may help a
> lot for these endeavors. http://www.swig.org/
> Also, Pharo can give HTTP-based access (lots of options here) for
> controlling the other around. There seems to be some REST support
> available and JSON parsing is around.
> Of course, this doesn't answer the question...
> 2012/9/6 S Krish <krishnamachari.sudhakar at gmail.com>:
> > Is there a source / person who could detail how the python binding is
> > done...
> > 1. To port this into Pharo
> > 2. Port this design to bind Groovy to Pharo..
> > On Thu, Sep 6, 2012 at 6:47 AM, Serge Stinckwich
> > <serge.stinckwich at gmail.com> wrote:
> >> On Thu, Sep 6, 2012 at 5:58 AM, Santiago Bragagnolo
> >> <santiagobragagnolo at gmail.com> wrote:
> >> > Hi all!
> >> Hi Santiago,
> >> > I'm currently working in a project related with ROS (robot
> >> > system), which already have a library to develop in C++ and other to
> >> > the
> >> > same at Python. So, there a lot of variables to contrast to make a
> >> > choice
> >> > (performance, code-easy-to-prototype, flexibility, and a lot more),
> >> > the
> >> > main variable is the accessibility from Pharo, then the question is,
> >> > there any project that use python from pharo? Or, if i select python i
> >> > should write a library in C that bootstrap python and give access to
> >> > pharo
> >> > via FFI?
> >> >
> >> > I looked in the list's mails and in google without any success.
> >> As Chris already told, there is a Python binding with OpenQwaq:
> >> I'm really interested to be able to use ROS from Pharo.
> >> I start some weeks ago to work on a pure Smalltalk client for ROS:
> >> http://ss3.gemstone.com/ss/RosSmalltalk.html
> >> Noury is also interested and start some work also:
> >> http://car.mines-douai.fr/squeaksource/RoSt.html
> >> We planned with Noury to join our efforts to have a ROS client as soon
> >> as possible.
> >> Noury will also recruit a engineer to work full time on this.
> >> Another alternative in order to use ROS from Smalltalk is to use
> >> websockets and rosbridge.
> >> I have done some work to use ROS from Amber here:
> >> https://github.com/SergeStinckwich/rostalk
> >> You are than welcome to join us ;-)
> >> Regards,
> >> --
> >> Serge Stinckwich
> >> UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
> >> Every DSL ends up being Smalltalk
> >> http://doesnotunderstand.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev