[Vm-dev] Re: Numbered primitives in images

K. K. Subramaniam subbukk at gmail.com
Sun Jan 17 15:13:37 UTC 2010


On Sunday 17 January 2010 12:50:17 am David T. Lewis wrote:
> Doing it automatically based on imageFormatVersion would probably
> work, but has a catch-22 for someone adding closures to an older
> image (e.g. adding the closure support to Etoys). For that situation
> you want to be able to turn on closure support even though the image
> does not yet need them, so perhaps e.g. a "-closures" command line
> option turn on closure support in that case.
> 
> Any other ideas?
An image may run on a VM on multiple platforms and not all may be at the same 
rev, breaking backward compatibility between 3.10 and 3.11 may cause more 
grief than necessary.

How about patching the VM to check for env variable (say SQUEAK_PRIM311) in 
addition to checking for -closures?

Subbu


More information about the Vm-dev mailing list