Re: Sending messages to nil on Intel
Re: Sending messages to nil on Intel
- Subject: Re: Sending messages to nil on Intel
- From: Nat! <email@hidden>
- Date: Thu, 4 Aug 2005 21:49:22 +0200
Am 01.08.2005 um 21:49 schrieb Felix Schwarz:
And, asked more generally, should I continue to write "compact"
code as above, or do I have to write less compact code like this in
order to achieve compatiblity with the upcoming x86 Macs:
I wrote n = [array count]; regardless of array being nil or not on
Openstep (the Cocoa predecessor) a few days back. That was an i386
implementation and I fully expect that to work again on the next
platform.
As it is trivial for the language maintainers to set the "integer"
return to zero on the nil path in objc_msgSend - with no real life
performance loss - and keep compatibility with like 99% of the code
written, the chances of this not working in the next release is zero
in my estimation.
Ciao
Nat!
------------------------------------------------------
The lazy, incompetent, petty minded, short sighted
masses recognize one of their own, and they are
flocking like the filthy little sheep they are.
-- H. Suleiman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden