Re: About iVars declaration and property
Re: About iVars declaration and property
- Subject: Re: About iVars declaration and property
- From: Preston Sumner <email@hidden>
- Date: Wed, 16 Nov 2011 15:14:37 -0700
On Nov 16, 2011, at 11:52 AM, Don Quixote de la Mancha wrote:
> On Wed, Nov 16, 2011 at 10:29 AM, Preston Sumner
> <email@hidden> wrote:
>> Can you confirm that the reason the particular software you use is huge, bloated, and slow is specifically because of objc_msgSend() and not shortcomings in the application's design or the addition of new, resource-intensive features to take advantage of the more powerful hardware? The "premature optimization" response is a colloquial expression of the philosophy that effort should be spent where performance metrics dictate it should.
>
> Did you ever use any of the early releases of Mac OS X? It was so
> slow as to be largely unusable until 10.3 (Panther). Mac OS X had
> been shipping to end-users for quite a long time before most end-users
> gave up Classic completely. Professional audio in particular just
> didn't work in OS X for quite a long time, so serious audio people had
> to stick with Classic.
Can you confirm that those issues were due to objc_msgSend() and not the immaturity and newness of system frameworks and subsystems? Professional audio adoption wasn't an Objective-C issue; DAWs were Carbon apps anyway. Concern over message dispatch performance is premature unless there's a perceptible impact. If your code is time critical, you'll be avoiding high-level features regardless of language.
For what it's worth objc_msgSend() is implemented in hand-written assembly. Its code as of 10.6.2 is explored here: http://www.friday.com/bbum/2009/12/18/objc_msgsend-part-1-the-road-map/
Preston_______________________________________________
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