• 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: Thoughts on Objective-C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thoughts on Objective-C++


  • Subject: Re: Thoughts on Objective-C++
  • From: Jens Alfke via Cocoa-dev <email@hidden>
  • Date: Mon, 11 Nov 2019 09:10:10 -0800

> On Nov 11, 2019, at 6:15 AM, Turtle Creek Software via Cocoa-dev
> <email@hidden> wrote:
>
> Then suggest that Cocoa would work better if Obj-C were a
> superset of C++ rather than plain C.  Objective-C++ all the way down, not
> just in source files.

Obj-C++ is a superset of C++, so I’m not sure what you’re wishing for. There’s
even pretty good interoperability between C++ and Obj-C objects: for example
you can embed the former as an ivar, or make vectors of Obj-C classes.

>  Objective-C and Cocoa will be deprecated soon, replaced by
> Swift and SwiftUI. That way there is just one shiny new closed system for
> all Apple hardware. So much simpler.

You can’t really call it “closed” when the entire Swift toolchain and runtime
libraries are open source, portable, and being actively used on other
platforms. That’s more open than Obj-C, because Apple never open-sourced
Foundation.

And it’s much more open than the platform you’re decamping to. MSVC and .NET
are both fully closed, as far as I’m aware. And I doubt C++-to-C# integration
is that much smoother.

—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: Thoughts on Objective-C++
      • From: Turtle Creek Software via Cocoa-dev <email@hidden>
    • Re: Thoughts on Objective-C++
      • From: Pier Bover via Cocoa-dev <email@hidden>
References: 
 >Thoughts on Objective-C++ (From: Turtle Creek Software via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: UIView block-based methods
  • Next by Date: Re: Thoughts on Objective-C++
  • Previous by thread: Thoughts on Objective-C++
  • Next by thread: Re: Thoughts on Objective-C++
  • Index(es):
    • Date
    • Thread