[squeak-dev] The Primitive: I am not a number- I am a named prim!
- SqueakPeople article
stephane ducasse
stephane.ducasse at free.fr
Tue Jul 1 16:27:14 UTC 2008
>>
>
> It's just a prim, ie a function somewhere.
>
> I'm proposing that we name all those prims that are currently
> numbered - primitive 1 would become "primitiveAdd" in a similar
> manner to say "primitiveDisablePowerManager". This would allow all
> prims to be built as plugin components, thereby allowing on the fly
> replacement of those plugins (making due allowance for handling
> retained state etc, of course). (It's sometihng I've been wanting to
> see done since 1988; I had discussions with Alan Schiffman & Peter
> Deutsch about it way before I even move to ParcPlace). We would lose
> the primitive table, saving a 8 kb or so. Oh and the *really*
> obsoleteIndexPrimitiveTable, saving another 8Kb or so.
So do it.
Stef
>
>
> Some code gets simplified, some space is saved, some flexibility is
> added, some bits are freed up in the CM header. THe downside is
> someone has to do some work.
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Advanced design: Upper management doesn't understand it.
>
>
>
>
More information about the Squeak-dev
mailing list
|