OpenQwaq python bridge

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenQwaq python bridge

Jan Vrany
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
[hidden email]
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenQwaq python bridge

Alexandre Bergel-5
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 <[hidden email]> 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
> [hidden email]
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>


_______________________________________________
Esug-list mailing list
[hidden email]
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenQwaq python bridge

Jan Vrany
In reply to this post by Jan Vrany
Hi Tobias

> > If so, where can I find them? My google-fu failed me, as usual.
>
> Have you tried https://github.com/itsmeront/openqwaq ?
> License is GPLv2

No, and this is indeed what I was looking for. Thanks a lot!

Best, Jan



_______________________________________________
Esug-list mailing list
[hidden email]
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenQwaq python bridge

Jan Vrany
In reply to this post by Alexandre Bergel-5
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 <[hidden email]> 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
> > [hidden email]
> > http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
> >
>
>


_______________________________________________
Esug-list mailing list
[hidden email]
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org