Re: C Sharp?
Re: C Sharp?
- Subject: Re: C Sharp?
- From: Jens Alfke <email@hidden>
- Date: Tue, 14 Jul 2015 14:14:10 -0700
> On Jul 14, 2015, at 1:04 PM, Dave <email@hidden> wrote:
>
> I looked at that, but unless I am mistaken, it allow you to bind Cocoa to C# not the other way round?
At some level those amount to the same thing. The difference is which side wants to “own” the process — with Xamarin IIRC your app launches into .NET. With Dubrovnik it sounds like you have a regular Cocoa app that can call into .NET.
But either way you’re looking at adding a lot of overhead. To run C# code you’ll need a CLR runtime and a .NET class library, so both of the technologies above will link Mono into your app. And the C# objects will have their own garbage-collected heap; I don’t know how big that starts. It’s totally do-able, it’s just an order of magnitude more overhead than adding a couple of Obj-C classes to your app.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden