[squeak-dev] Kernel -> MorphicExtras (!)

Bert Freudenberg bert at freudenbergs.de
Tue May 7 19:44:18 UTC 2013


On 2013-05-07, at 16:29, Frank Shearar <frank.shearar at gmail.com> wrote:

> Kernel depends on MorphicExtras (the SqueakPageCache class in
> particular) in two places:
> 
>    ObjectOut >> comeFullyUpOnReload
>    ObjectOut >> xxxFetch
> 
> I really don't like something called "Kernel" (with the implication
> that it's the innermost part of the system) depending on Morphic, let
> alone MorphicExtras (whose name suggests that it's something entirely
> optional).
> 
> How do we break this dependency? (It looks hairy!)

Maybe SqueakPageCache should be moved to System, because it's used by ImageSegments? And the ObjectOut methods that depend on Morphic should be moved down the hierarchy to MorphicObjectOut.

- Bert -




More information about the Squeak-dev mailing list