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? 

>> - dynamically change a method that is on the stack?
> 
> have a look at on:fork: to see how igor cut some stack elements

Thanks. 

Steven. 

  

Reply via email to