Re: [Pharo-users] Python bridges

2019-06-28 Thread Julien
I know a little Kilon’s bridge as I used it as backend for Python3Generator [1] 
in the beginning.

To my understanding , the difference is that Atlas is lower-level than 
PythonBridge.

Basically, Atlas allows one to send python string and get back the returned 
value if it is a primitive type (int, float, str, etc).

PythonBridge uses Python3Generator as DSL to build valid Python code. Atlas 
expects regular Pharo’s string.

PythonBridge provides debugging facilities, Atlas does not to my knowledge.

PythonBridge provides facilities to map Pharo classes to Python classes, Atlas 
does not.

Cheers,

Julien

Links:
[1]: https://github.com/juliendelplanque/Python3Generator


---
Julien Delplanque
Doctorant à l’Université de Lille
http://juliendelplanque.be/phd.html
Equipe Rmod, Inria
Bâtiment B 40, Avenue Halley 59650 Villeneuve d'Ascq
Numéro de téléphone: +333 59 35 86 40

> Le 28 juin 2019 à 03:49, Alexandre Bergel via Pharo-users 
>  a écrit :
> 
> 
> De: Alexandre Bergel 
> Objet: Rép : Python bridges
> Date: 28 juin 2019 à 03:49:20 UTC+2
> À: Ben Coman 
> Cc: Any question about pharo is welcome 
> 
> 
>> 
>> How does usage of your Python bridge compare to Kilon's... ?
>> https://github.com/kilon/Atlas 
> No idea. But our bridge adequately manages errors crossing language 
> boundaries and employ a set of command to enable promises. I am not sure sure 
> whether Atlas was designed to do so.
> 
> Alexandre
> 
> 
> 



Re: [Pharo-users] Python bridges

2019-06-27 Thread Alexandre Bergel via Pharo-users
--- Begin Message ---
> 
> How does usage of your Python bridge compare to Kilon's... ?
> https://github.com/kilon/Atlas 
No idea. But our bridge adequately manages errors crossing language boundaries 
and employ a set of command to enable promises. I am not sure sure whether 
Atlas was designed to do so.

Alexandre

--- End Message ---


[Pharo-users] Python bridges

2019-06-27 Thread Ben Coman
Subject was> Re: [Pharo-users] Anything on Pharo that would be like
Opentalk on VW?)
On Wed, 26 Jun 2019 at 02:45, Alexandre Bergel via Pharo-users <
pharo-users@lists.pharo.org> wrote:

> We have worked on bridging Pharo with Python. It works remarkably well.
> Here is the website: https://objectprofile.github.io/PythonBridge/
>

Hi Alexandre,

How does usage of your Python bridge compare to Kilon's... ?
https://github.com/kilon/Atlas

cheers -ben