D/Objective-C 64bit

Paulo Pinto pjmlp at progtools.org
Wed Mar 12 08:19:48 PDT 2014


On Wednesday, 12 March 2014 at 12:14:23 UTC, Michel Fortin wrote:
> On 2014-03-12 09:26:56 +0000, Iain Buclaw 
> <ibuclaw at gdcproject.org> said:
>
>> On 12 March 2014 07:10, Jacob Carlborg <doob at me.com> wrote:
>>> Yeah, since Objective-C uses the C calling convention it's 
>>> mostly about
>>> outputting symbols and data to the object files.
>> 
>> In what ABI may I ask?  Your choices are:
>> - Traditional (32bit) ABI without properties and Obj-C 2.0 
>> additions
>> - Traditional (32bit) ABI with properties and Obj-C 2.0 
>> additions
>> - Modern (64bit) ABI
>
> I made the 32-bit legacy runtime support, Jacob added the 
> 64-bit modern runtime support.
>
> There's no support at this time for properties declarations in 
> the ABI, but it doesn't really have much impact. As far as I'm 
> aware, Objective-C 2.0 additions only include property 
> declarations and attributes in the ABI.
>
>
>> That can be mixed in with either:
>> - GNU Runtime ABI
>> - NeXT Runtime ABI
>
> It's been tested with the Apple (NeXT) runtime only. In all 
> honesty, I, and probably most people out there, don't care 
> about the GNU runtime. Although probably the GCC guys do. Do 
> you think it'd make it more difficult to merge GCC in the GCC 
> project if it had support for Apple's runtime and not for the 
> GNU one?
>
> Also, is there a list of differences between the two runtimes 
> somewhere?
>
>
>> Each combination being incompatible with each other subtly 
>> different ways...
>
> Which is why we have a test suite.

There is an outdated list here, 
http://wiki.gnustep.org/index.php/ObjC2_FAQ

I wouldn't care for GNUStep support.

Objective-C support in gcc is almost dead and GNUStep seems to 
have hardly changed since I used WindowMaker as my main window 
manager. Which was around 1999 - 2004!

--
Paulo


More information about the Digitalmars-d-announce mailing list