[Pharo-project] Fuel or image segments (project files)
Hi, The application I am working on (which currently runs under Squeak VM on Android) will be migrated to Pharo. The current version heavily relies upon use of image segments (projects) which provides a simple (though slow) way to save/restore the application data not touching the image (the Squeak port is unable to save images anyway, Cog can do this, but I'd rater not touch the image) with versioning. Are image segments supported in Pharo Core same way? I saw a message about stopping the support of image segments in future versions of Pharo in favor of Fuel. What is current status of Fuel development? Is it usable? Thanks. -- Dimitry Golubovsky Anywhere on the Web
Hi Dimitri, I think image segments are supported in same way in Pharo but I'm not sure. About Fuel, it is in active development. It currently works and has several release versions but it doesn't replace completely ImageSegment. Hopefully we might be capable of doing that in some months... at the moment you can find some limitations, especially if you were using DiskProxy (do you?). There is more info, including how to install and try it, here: http://rmod.lille.inria.fr/web/pier/software/Fuel Cheers, MartÃn On Wed, Sep 14, 2011 at 6:59 PM, Dimitry Golubovsky <golubovsky@gmail.com>wrote:
Hi,
The application I am working on (which currently runs under Squeak VM on Android) will be migrated to Pharo. The current version heavily relies upon use of image segments (projects) which provides a simple (though slow) way to save/restore the application data not touching the image (the Squeak port is unable to save images anyway, Cog can do this, but I'd rater not touch the image) with versioning.
Are image segments supported in Pharo Core same way? I saw a message about stopping the support of image segments in future versions of Pharo in favor of Fuel. What is current status of Fuel development? Is it usable?
Thanks.
-- Dimitry Golubovsky
Anywhere on the Web
On Wed, Sep 14, 2011 at 11:59 PM, Dimitry Golubovsky <golubovsky@gmail.com>wrote:
Hi,
The application I am working on (which currently runs under Squeak VM on Android) will be migrated to Pharo. The current version heavily relies upon use of image segments (projects) which provides a simple (though slow) way to save/restore the application data not touching the image (the Squeak port is unable to save images anyway, Cog can do this, but I'd rater not touch the image) with versioning.
Are image segments supported in Pharo Core same way? I saw a message about stopping the support of image segments in future versions of Pharo in favor of Fuel. What is current status of Fuel development? Is it usable?
Yes it is. All you need to start is in http://rmod.lille.inria.fr/web/pier/software/Fuel And please, ask if you have specific questions.
From what I can see, Fuel may be useful for what you need. What it is important is that you tell us which "hooks" do you use from ImageSegment / ReferenceStream. I mean, if you just send #serialize: myProject you will serialize the whole object graph. Sometimes you need to exclude some objects or instance variables, sometimes replace one object for something different, sometimes you need to execute something before or after serialization or materialization etc etc etc. So...it is important to know what else you need apart from a plain object serializer.
Cheers -- Mariano http://marianopeck.wordpress.com
participants (3)
-
Dimitry Golubovsky -
Mariano Martinez Peck -
Martin Dias