Hi there,
does anyone know how OpenQwaq's Python bridge was/is implemented?
Does it use a VM plugin/ffi to interact with Python runtime?
If yes, does anyone know if sources are available (under some usable
license)?
If so, where can I find them? My google-fu failed me, as usual.
All the best in 2020!
Jan
Hi Jan,
We worked hard on PythonBridge, a bridge between Smalltalk and Python.
Our bridge uses a sophisticated messaging and queuing mechanism to enable debugging and traceability of the interaction between Python and Smalltalk. And yes, if a Python proxy object is garbaged collected within Smalltalk, the corresponding python object will be garbage collected within Python on some point.
We made a short video about this effort: https://youtu.be/uKSHUVZs75k
Our bridge works for Pharo and VisualWorks. It should be easy to port it to another smalltalk. Some links:
https://objectprofile.github.io/PythonBridge/
https://github.com/ObjectProfile/PythonBridge
We use the bridge to enjoy AI and image processing python libraries within Pharo and VisualWorks.
And thanks Lam Research to make all this happen.
Cheers,
Alexandre
On 02-01-2020, at 13:26, Jan Vrany jan.vrany@fit.cvut.cz wrote:
Hi there,
does anyone know how OpenQwaq's Python bridge was/is implemented?
Does it use a VM plugin/ffi to interact with Python runtime?
If yes, does anyone know if sources are available (under some usable
license)?
If so, where can I find them? My google-fu failed me, as usual.
All the best in 2020!
Jan
Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
Hi Alexandre,
I know about the bridge you did. I think I prefer to embed python runtime into
VM process. Will see, if that won't work, will give it a go.
Thanks! Jan
On Thu, 2020-01-02 at 14:22 +0100, Alexandre Bergel wrote:
Hi Jan,
We worked hard on PythonBridge, a bridge between Smalltalk and Python.
Our bridge uses a sophisticated messaging and queuing mechanism to enable debugging and traceability of the interaction between Python and Smalltalk. And yes, if a Python proxy object is garbaged
collected within Smalltalk, the corresponding python object will be garbage collected within Python on some point.
We made a short video about this effort: https://youtu.be/uKSHUVZs75k
Our bridge works for Pharo and VisualWorks. It should be easy to port it to another smalltalk. Some links:
https://objectprofile.github.io/PythonBridge/
https://github.com/ObjectProfile/PythonBridge
We use the bridge to enjoy AI and image processing python libraries within Pharo and VisualWorks.
And thanks Lam Research to make all this happen.
Cheers,
Alexandre
On 02-01-2020, at 13:26, Jan Vrany jan.vrany@fit.cvut.cz wrote:
Hi there,
does anyone know how OpenQwaq's Python bridge was/is implemented?
Does it use a VM plugin/ffi to interact with Python runtime?
If yes, does anyone know if sources are available (under some usable
license)?
If so, where can I find them? My google-fu failed me, as usual.
All the best in 2020!
Jan
Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org