[self-interest] dynamic inheritance (was: resend)

J. Baltasar Garcia Perez-Schofield jbgarcia at uvigo.es
Mon Nov 14 09:49:05 UTC 2005


	Hi. Jecel


> Normally each object is associated with a "map" that represents its type
> to the virtual machine (pointers to maps are used in PICs and other
> places). My change was to allow a single object to be associated with
> more than one map (up to five)

	Interesting.
	Thank you for you answer.
	
> Exactly. I call them "facets" since they are used a bit differently than
> traditional mixins and reusing the name might cause some confusion.
> These facets (sets of slots) are ordered so it is easy to see (literally
> given the visual representation) which slot will match each message. If
> Self were converted directly to such a scheme most objects would be huge
> due to the globals but I don't have globals in the language, though the
> programming environment has a catalog that does the same job (but at
> edit time, not run time).

	I see.
	But are these facets "packed" inside the object, or do you have slots
pointing to them ?

	Salud !

-- 
PBC -- J. Baltasar García Perez-Schofield
jbgarcia en uvigo de es  http://webs.uvigo.es/jbgarcia/
Dep. Informática, Universidad de Vigo, España (Spain)




More information about the Self-interest mailing list