running directly from RAM on wince?

Dan Ingalls Dan.Ingalls at disney.com
Sat May 26 06:38:08 UTC 2001


Craig Latta <Craig.Latta at NetJam.ORG> pondered...
>	Hmm. Would it be possible to run the image on wince from where it sits
>in "storage" RAM, without copying it into "program" RAM? It seems a
>shame to use twice the space. I'm willing to give up the integrity of a
>snapshot after startup (as long as I can still make another snapshot).
>Can iPAQ/Linux Squeak do something clever in this regard?

Here's another slant on this.  Suppose we always gzipped the images.  This typically saves 50%.  So we would have...

# images           space now          space w/ XIP (xeq in place)    space w/gzipped images
1		2M		M		1.5M
2		3M		2M		2M
3		4M		3M		2.5M
N		(n+1)M		nM		n(M/2) + M

This would seem to be a win for two or more images, doesn't depend on any details of XIP, and could benefit the entire Squeak universe.  Hmm can you expand a gzip file as fast as you can read it from the disk?

I especially like what this would do for the stats of MiniSqueak with abandoned sources:  An image of 327k decompiles 855k of source code, with an integrated development environment thrown in for free.

	- Dan






More information about the Squeak-dev mailing list