Environment?

Michael van der Gulik squeakml at gulik.co.nz
Tue Feb 21 21:48:09 UTC 2006


Hi.

I see this class hierarchy:

...IdentityDictionary etc.
    SystemDictionary
       Environment
          SmalltalkEnvironment

What are they? I understand that #Smalltalk of class SystemDictionary is 
a singleton and a global variables holder, used by the compiler to add 
Associations pointing to global variables in method dictionaries for 
classes.

But Environment? When was it made? What were the original intentions? 
Does it work and is it stable and safe to use?

And what is SmalltalkEnvironment used for? It appears to be an 
uncommented empty class.

I'm trying to create a secure, segregated Smalltalk environment in my 
image where remotely loaded code has no references to objects that I 
don't want it to have (aka "capabilities" ala the E language).

Mikevdg.




More information about the Squeak-dev mailing list