Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Higher order messaging revisited, avoiding warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Higher order messaging revisited, avoiding warnings



I'm glad to hear you liked my implementation, and I'll be very interested in seeing yours :)
I understand what you feel about my registers 'magic' and I felt the same at the beginning, but the fact I couldn't find any better solution, and that the function calling ABI is well documented by apple, made me feel more comfortable about this.

- Ofri

- - - - - - - - - - - - - - - - - - -
http://www.dpompa.com
- - - - - - - - - - - - - - - - - - -


On 20/08/2006, at 14:48, Pete Yandell wrote:


On 20/08/2006, at 7:56 PM, Ofri Wolfus wrote:

I tried this solution in my implementation, but it resulted in messy code with lots of casts, so I came up with a new solution. The basic idea is that if the internals of the method call returns the right thing then one should be able to get the result directly from the right register.

I had a bit of a look at your library, Ofri. It definitely looks to be the most comprehensive and best put together HOM solution out there! I'm trying a bit of a different approach though, and want something simpler. Your magic with registers is a bit too much like black magic for me.

If people are interested, I'm happy to post a bit more info about what I'm doing differently to the other HOM libraries floating around, or even stick my code up somewhere.

Cheers,

Pete Yandell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Higher order messaging revisited, avoiding warnings (From: Pete Yandell <email@hidden>)
 >Re: Higher order messaging revisited, avoiding warnings (From: Robert Chin <email@hidden>)
 >Re: Higher order messaging revisited, avoiding warnings (From: Pete Yandell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.