• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: int and short int on intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >int and short int on intel (From: Jonathan Fewtrell <email@hidden>)
 >Re: int and short int on intel (From: Chris Suter <email@hidden>)
 >Re: int and short int on intel (From: Jonathan Fewtrell <email@hidden>)

  • Prev by Date: NSTableColumn "enabled" binding on 10.3.9
  • Next by Date: nstask with admin privs
  • Previous by thread: Re: int and short int on intel
  • Next by thread: Problem drawing offscreen with NSOpenGLView (gets drawn onscreen too)
  • Index(es):
    • Date
    • Thread