l Rules about memory ownership
§ Reference Counting for all XPCOM objects
§ Callee allocation, caller free
l Runtime object typing
§ Query an object to discover other types
§ Runtime typing means code is more adaptable to new objects
l Generic object creation
§ Component Manager
§ Service Manager – singleton objects, lifetime managed by XPCOM
l Scriptability
§ IDL to define interfaces
§ Type libraries allow JavaScript, other languages
2
Alec Flett <alecf@flett.org>
2/4/2002