Re: int and short int on intel
Re: int and short int on intel
- Subject: Re: int and short int on intel
- From: Shawn Erickson <email@hidden>
- Date: Fri, 12 Jan 2007 08:36:31 -0800
On Jan 11, 2007, at 7:00 PM, Jonathan Fewtrell wrote:
Thanks Chris. This confirms my understanding of ObjC was wrong. I
thought that if an object was typed id, the method called would
only be determined at runtime and the return type would be the type
of that method.
Ideally it would work that way but the reality is that the caller is
compiled to use specific instructions for moving around and
processing the return value. In theory the calling code could be
compiled with decision logic that allows runtime matching of return
type but countless issue exist with doing that... they range from
performance to dealing with fundamental mismatches between storage in
the caller and the returned value.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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