Search code examples
pythonsocketssmalltalk

Making a bridge for communication between python and smalltalk


I am making a project in pharo that will extend it and make it more visual for also further extending the 3d application Blender. Blender uses mainly python for extensions called "Addons" , to be precise python 3.2. So what I want is to make a bridge between pharo (smalltalk) and blender (python).

For now I have focused on sockets and XMLRPC but I was wondering if there are tools out there and choices to further help on my saga.

I dont have high demands, for now a simple access to class attributes and call of python methods should be enough, but if I can add additional power to my bridge later it will so much better. Ideally the bridge later one could be used for making pharo use libraries from other language like Java , C# etc


Solution

  • WebSockets sending JSON messages between Smalltalk and Python could be the bleeding edge yet long-term quite a promising way to go. Smalltalk has quite good WebSockets support, I suppose Python as well.