• 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: Java and Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java and Objective-C


  • Subject: Re: Java and Objective-C
  • From: Torsten Curdt <email@hidden>
  • Date: Sat, 7 Jun 2008 16:12:21 -0700

Implementation wise (and this is not to be relied on), when you begin
observing an object, the object's class is dynamically subclassed, and
the property accessors are overridden.  The overrides call the
original implementation and also do the notification of interested
parties.  The original object changes class so that it is now an
instance of the subclass.

When you stop observing, the object's class changes back to the original class.

An inlining JIT would have trouble with this.

Why would that be the case? AOP is usually done through byte code transformation and that's one layer above.


Anyway ...I think this is getting OT

cheers
--
Torsten

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >Re: Java and Objective-C (From: WT <email@hidden>)
 >Re: Java and Objective-C (From: Bill Bumgarner <email@hidden>)
 >Re: Java and Objective-C (From: Denis Bohm <email@hidden>)
 >Re: Java and Objective-C (From: "Ken Ferry" <email@hidden>)

  • Prev by Date: Re: Learning Cocoa with RubyCocoa (was Regular Expressions)
  • Next by Date: Re: Java and Objective-C
  • Previous by thread: Re: Java and Objective-C
  • Next by thread: Re: Java and Objective-C
  • Index(es):
    • Date
    • Thread