[Mono-list] Is Objective-C support possible?

Miguel de Icaza miguel@ximian.com
17 Sep 2001 13:46:53 -0400


> CLS?

Sorry, meant CTS (Common Type System).

> The problem as I see it is categories have to be implemented in the
> runtime library which handles all objects in general so that when
> another object (possibly written in Java or whatever) calls said
> method, the new stacked method is called, not the original. So
> unless the general runtime supports class extensions, I don't see
> how it would work like it's intended.

You do not need to have categories supported by the runtime system.
You just need the message sending routine to know about it.

What this means is that you can consume CTS types, but you would not
be able to expose "augmented" types back to other components.

CTS compliance has various levels, what I said is that my suggested
plan would allow you to become a CTS consumer, but maybe not a
provider, or not a provider in all cases.

Miguel.