Well, nothing we don't already have with Zinc, green threads, taskit and generators (+ syntax sugar). The nicest thing is however: http://www.tornadoweb.org/en/stable/ioloop.html#i-o-events They have a nice library to do async IO. We have also one but we do not exploit it enough I think. This is nice because it would simplify the implementation of all external code calling Pharo. In that front we currently have some spaghetti: - the input event fetcher implements an async queue of UI events whose consumer is a process in the image and the producer is the VM. - sockets and the async io plugin have a different approach, also written in the VM. - callbacks should also use a similar approach to notify when they are being called from C. On Wed, Apr 4, 2018 at 12:40 PM, Norbert Hartl <norbert@hartl.name> wrote:
Am 04.04.2018 um 12:12 schrieb Stephane Ducasse <stepharo.self@gmail.com :
Iâm not good enough to understand it simply :) But you are :)
It is about âhow to program in python as you would in javascriptâ.
Norbert
-- Guille Polito Research Engineer Centre de Recherche en Informatique, Signal et Automatique de Lille CRIStAL - UMR 9189 French National Center for Scientific Research - *http://www.cnrs.fr <http://www.cnrs.fr>* *Web:* *http://guillep.github.io* <http://guillep.github.io> *Phone: *+33 06 52 70 66 13