On Sun, Feb 25, 2018 at 12:59 PM, Steven Costiou <steven.cost...@kloum.io> wrote:
> Le 2018-02-25 08:37, Stephane Ducasse a écrit : > > On Sat, Feb 24, 2018 at 11:23 AM, Steven Costiou > <steven.cost...@kloum.io> wrote: > > Hi, > > is this possible somehow to: > > - load compiled code in the image? like loading a compiled method instead > of > loading source then compiling it? > > > why is this a problem? > you could try to serialise a method with fuel and load it. > > > > That is not necessarily a problem, I want to add new or modified methods > in remote iot applications, while Pharo is running. I'm experimenting > different ways to find which one suits me best. It works with TelePharo for > example, but the method has to be recompiled on the iot application side. I > was just wondering if Pharo provided a way to upload an already compiled > method. > > I will try fuel. But is fuel part of "standard" Pharo distribution? > I'm really tempted to tell you to download Pharo and check it for yourself ^^ > > > > > - dynamically change a method that is on the stack? > > > have a look at on:fork: to see how igor cut some stack elements > > > > Also, send an email to Pablo, he's the DSU expert :) > Thanks. > > Steven. > > > > > > -- 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