discuss-gnustep
[Top][All Lists]
Advanced

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

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


From: H. Nikolaus Schaller
Subject: Re: Which ObjC2.0 features are missing in the latest GCC?
Date: Mon, 25 Nov 2019 18:49:29 +0100

> Am 25.11.2019 um 18:40 schrieb Fred Kiefer <fredkiefer@gmx.de>:
> 
> 
> 
>> Am 25.11.2019 um 11:18 schrieb H. Nikolaus Schaller <hns@goldelico.com>:
>> 
>> Fred mentioned that it could be possible to define some block wrapper macros 
>> if some time is invested.
>> It that works out, we do not make our decisions depend on gcc *not* 
>> implementing something.
> 
> 
> I may not have been clear enough on that point. I think that limited block 
> support might be possible even with gcc, a full implementation is probably 
> out of reach.

The question is what we need. Maybe not some exotic corner cases.
IMHO, they are mainly used as callbacks from asynchronous activities 
(networking).

In ObjC1 this was handled by delegates or blocking and passing back complete 
results instead of callbacks.

It looks like the key aspect is to get new block based method names in header 
files (almost) compatible.
Well, we never can automatically replace ^ by something in application code by 
a cpp macro.


reply via email to

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