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

Paul Bayley bayleyp@mac.com
Sun, 16 Sep 2001 04:06:47 -0700

At 5:19 PM -0300 9/15/01, A Rafael D Teixeira wrote:
>I don't know anything about Objective-C, but if it allows multiple inheritance, it won't blend well with the CLR.
>Just to compare: Microsoft has kept Visual C++ in .NET, but you have it as a dual-mode language, you can use full C++ and then you'll only compile to native windows executables, with the old runtime, or you must follow most C# rules (basically avoiding pointers, multiple-inheritance, STL, non-CLR types, etc..) and you can generate .NET executables.

ObjC 4 does not implement multiple inheritance. It uses 'protocols' to accomplish the same task.

The primary problem will likely be things like forward invocation and class extensions (categories) which Java doesn't implement. ObjC is far more flexible than Java.

Also object types aren't strict.