Re: Has anyone compared Cocoa and DOTNET?
Re: Has anyone compared Cocoa and DOTNET?
- Subject: Re: Has anyone compared Cocoa and DOTNET?
- From: Marc Weil <email@hidden>
- Date: Tue, 20 Jan 2004 07:52:10 -0500
While you technically should be able to do this, Microsoft is trying
very, very hard to steer developers away from using Managed C++,
especially because, afaik, Visual Studio.NET doesn't even support it
anymore.
I agree very much with your list of comparisons, Glen, but I'd like to
add just one more. As everyone knows, Cocoa can be very easily
intermixed with C and C++ code and (most of) their libraries. However,
C# can only accept C#. In order to mix in standard languages such as C
or C++, you either have to somehow get your code completely isolated
from C# and then compile it into a set of DLLs for your C# code to call
at runtime. Now someone correct me if I'm wrong, but wouldn't it slow
down the program quite a bit if the entire core of the program had to
be dynamically loaded from disk each time the executable was launched?
Quite icky and undesirable, in my mind at least.
Perhaps if I am considering Managed C++ wrong, someone could point me
in the right direction because it would be very nice to be able to mix
in the C code I have in my Cocoa program with the C# code in its
Windows port. It would save me much time and energy, and that is always
a good thing. :-)
- Marc Weil
On Jan 20, 2004, at 2:35 AM, Glen Low wrote:
>
>
[snip]
>
>
Why not have the best of both worlds? Cocoa accepts ObjC++ and .NET
>
accepts Managed C++, so you may be able to factor out a good deal of
>
non-UI code (and some UI code) into C++, then bridge to either
>
framework via ObjC++ and Managed C++.
>
>
Cheers,
>
Glen Low, Pixelglow Software
>
www.pixelglow.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.