• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C Sharp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C Sharp?


  • Subject: Re: C Sharp?
  • From: Dave <email@hidden>
  • Date: Thu, 16 Jul 2015 10:13:01 +0100

Thanks for this, yes, I imagined there would be a lot of overhead using this approach, but there’s at least 6 man years of development gone into the C# code and it’s not really viable to rewrite it in Objective-C if it’s even possible.

All the Best
Dave


> On 14 Jul 2015, at 22:14, Jens Alfke <email@hidden> wrote:
>
>
>> On Jul 14, 2015, at 1:04 PM, Dave <email@hidden <mailto: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


  • Follow-Ups:
    • Re: C Sharp?
      • From: Dave <email@hidden>
References: 
 >C Sharp? (From: Dave <email@hidden>)
 >Re: C Sharp? (From: Sixten Otto <email@hidden>)
 >Re: C Sharp? (From: Dave <email@hidden>)
 >Re: C Sharp? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Safe time to add accessory view to NSSavePanel in sandboxed app?
  • Next by Date: WebView and cookies
  • Previous by thread: Re: C Sharp?
  • Next by thread: Re: C Sharp?
  • Index(es):
    • Date
    • Thread