On 12 Aug 2001, Owen Taylor wrote:   
>  - User data stored with a structure should have an associated
>    notifier.
>  - Callback functions must take not just a function, but
>    a function,user data, destroy notifier combination.  
     
The first "associated notifier", is that a destroy notifier too? is a 
destroy notifier the same thing as a destructor/finalizer ?

>  - Data structures should be one of:
>    * Immutable and refcounted.
>    * Copy by value.
>    * Copy by reference, reference counted, with destroy
>      notification and a user data facility for maintaining
>      persistant language <=> library associates.

I see there is no mark+sweep garbage collection here?
Ruby features mark+sweep.
OTOH, Ruby has no reference counting of any kind.



matju

Reply via email to