SqueakScript only needs a Dos window

Tim Rowledge tim at sumeru.stanford.edu
Mon Aug 26 18:46:57 UTC 2002


"PhiHo Hoang" <phiho.hoang at rogers.com> is claimed by the authorities to have written:

> Tim,
> 
> > > Deeper cut would be needed to prevent 'WindowPlugin' from being loaded
> when
> > > headless image like 'TestSQS.image' is run.
> > Take a look at the Acorn code in sqRPCWindows.c - it doesn't open an
> > OSwindow until it needs to.
> 
>     This sounds OK, but there may be a little hesitation at first draw.
So ? It would only replace an almost identical amount of time currently
used at startup - wastefully if you don't actualy want a window.
> 
> > > BTW, if you are listening, Andreas, how do I list loaded modules ?
> > Smalltalk listLoadedModules provides a list of the modules (both
> > internal and external) that have been loaded - note that an internal
> > modules can be not-yet-loaded.
> 
>     Yeah, I know this trick for the normal image, but SqueakScript is not
> normal.
>     It's super-normal :-) I guess it needs a  different incantation.
If you're using the plugin mechanism without massive changes then
the primitives should be there; why would you remove the methods from
SystemDictionary? They're not exactly big.
> 
>     BTW, Tim, did you have a look at MobVM ? Do you have any suggestion or
> advices regarding the partition of variables and routines among
> ObjectMemoryPlugin, InterpreterPlugin and PrimitivesPlugin (hmm, there is
> also a MiscPrimitivesPlugin !) ?
I like the idea of separating out the object memory and execution
engine. The implementation details are simply details.

I can't find any meaningful site to look at your stuff right now; google
finds nothing intersting for mobvm and searching the swiki returns
nothing for mobvm nor sqm. IIRC you have been working exclusively for
windows which means I can't use anything other than source code since I
do not do windows.

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Logic:   The art of being wrong with confidence...




More information about the Squeak-dev mailing list