• 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: 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


  • 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>)

  • Prev by Date: Re: Unable to connect IBOutlet in Swift Xcode 7b2
  • Next by Date: Re: AfxIsValidAddress
  • Previous by thread: Re: C Sharp?
  • Next by thread: Re: C Sharp?
  • Index(es):
    • Date
    • Thread