Re: Thoughts on Objective-C++
Re: Thoughts on Objective-C++
- Subject: Re: Thoughts on Objective-C++
- From: Pier Bover via Cocoa-dev <email@hidden>
- Date: Mon, 11 Nov 2019 11:28:57 -0600
> That’s more open than Obj-C, because Apple never open-sourced Foundation.
AFAIK no Apple frameworks for Swift have been (or will be) open sourced
either.
> MSVC and .NET are both fully closed, as far as I’m aware.
.NET Core is fully open source:
https://github.com/dotnet/core
AFAIK Core is only for servers but it's also coming to desktop apps:
https://devblogs.microsoft.com/dotnet/net-core-3-and-support-for-windows-desktop-applications/
On Mon, Nov 11, 2019 at 11:12 AM Jens Alfke via Cocoa-dev <
email@hidden> wrote:
>
> > 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
>
_______________________________________________
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