Re: Carbon -> Cocoa
Re: Carbon -> Cocoa
- Subject: Re: Carbon -> Cocoa
- From: Saagar Jha <email@hidden>
- Date: Sun, 19 Aug 2018 15:46:51 -0700
Saagar Jha
> On Aug 17, 2018, at 10:51, Jeremy Hughes <email@hidden> wrote:
>
>> Of course, the C++ business logic doesn't need any changes. The concern is,
>> how long will it last? Seems like the future is an entirely Swift-based API
>> that replaces Objective-C Cocoa in 5 years, with no easy way to link to
>> other languages.
>
> Core parts of Webkit are written in C++, so I think you’re safe with that.
>
> I haven’t tried to interface between Swift and C++, but I think it’s possible
> and will probably get easier. You could ask in the Swift forums.
This isn’t currently possible, and would be a huge undertaking since bridging
with C++ essentially requires adding the (complex) semantics of C++ to the
bridging language. That being said, I think this is something that the Swift
core team was interested in.
>
> I think ObjC will be around for a while, at least the next ten years.
>
> Jeremy
>
>
> _______________________________________________
>
> 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
_______________________________________________
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