[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which ObjC2.0 features are missing in the latest GCC?

From: Richard Frith-Macdonald
Subject: Re: Which ObjC2.0 features are missing in the latest GCC?
Date: Thu, 21 Nov 2019 09:15:55 +0000

> On 21 Nov 2019, at 08:32, David Chisnall <address@hidden> wrote:
>> On 20 Nov 2019, at 20:11, Gregory Casamento <address@hidden> wrote:
>> Derek
>> On Wed, Nov 20, 2019 at 1:44 PM Derek Fawcus <address@hidden> wrote:
>>> On Wed, Nov 20, 2019 at 10:52:36AM +0000, David Chisnall wrote:
>>>> Oh, and with ARC, all of the C++ implementations have correct memory 
>>>> management for Objective-C, for free.
>>> While dropping support for GCC does not strike me as a problem,
>>> switching the core implementation to depend upon C++ may well do.
>> I'm not sure what to say to this other than LOL.  Given that C++ still 
>> doesn't have some of the dynamic features of even the original ObjC it seems 
>> quite impossible.  Also it contradicts the entire purpose of the 
>> framework...   moving on…
> I think you are missing my point here.  C++ is a good language for low-level 
> abstractions, for abstract data types, and so on, with aggressive 
> compile-time specialisation and opportunities for optimisation at the low 
> level.  In contrast, Objective-C is a good language for providing stable 
> interfaces, for high levels of abstraction, and so on.

I strongly agree with this ... whie I detest C++ for general use, it is 
definitely great for extremely well defined low level stuff where you are never 
going to have to change/maintain the code because the requirements don't change.
I think it's dreadful for most higher level real-world projects where 
requirements change throughout the development process and beyond.
As far as I can see there's no reason it can't be used where clearly 
appropriate and banned everywhere else.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]