• 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: Framework and Prebinding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework and Prebinding


  • Subject: Re: Framework and Prebinding
  • From: Darkshadow <email@hidden>
  • Date: Fri, 29 Oct 2004 10:11:06 -0400


On Oct 29, 2004, at 5:55 AM, Wade Tregaskis wrote:

As long as this warning exists, users will have decreased speed in loading your app because prebinding is disabled.

Apparently there isn't a huge performance advantage to pre-binding under 10.3, and from what I understand 10.4 will negate it entirely. The Darwin 8 preview release certainly has a few subtle indications that this will be the case. I've even heard, although I can't remember the source, that 10.4 is usually faster *without* prebinding.

Personally I think prebinding's a bit of a waste of time, since it adds half an hour (on my 800mhz iBook) to just about any significant software install, and my experiments with & without it indicate little difference in loading time on 10.3. (10.2 was a different story; I do recall prebinding making a big difference in several cases). It also creates security nightmares in terms of binary verification - note the way many apps suddenly need to be re-authenticated to access keychain items after an update of a completely separate program or library (e.g. the QuickTime 6.5.2 update invalidating Mail, and another recent update - can't remember what exactly; I think it was a security update - invalidating Safari). This arises from the apparent fact that there's no way to undo prebinding on an existing app - Apple does provide source (some 3000 lines of it!) to do so, but it appears to have a few bugs which make it fail terribly in certain cases. :(

But I suppose that constitutes a rant. All flames to my Gmail account, for easy filing. ;)

Wade Tregaskis (AIM, Yahoo & Skype: wadetregaskis, ICQ: 40056898, MSN & email: email@hidden, Jabber: email@hidden
-- Sed quis custodiet ipsos custodes?


You can actually disable prebinding in apps a different way - remake one of the libraries it depends on, and the prebinding fails in the applications (and update_prebinding is unable to update it). I found this out when I compiled a newer version of zlib - there's a lot of apps & libraries that link against it, it seems. I actually built it prebound, but it seems update_prebinding can't redo the prebinding anyway.

Darkshadow (aka Mike Nickerson)

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

This email sent to email@hidden
  • Follow-Ups:
    • Re: Framework and Prebinding
      • From: Wade Tregaskis <email@hidden>
References: 
 >Framework and Prebinding (From: "Mike O'Connor" <email@hidden>)
 >Re: Framework and Prebinding (From: Evan Schoenberg <email@hidden>)
 >Re: Framework and Prebinding (From: Wade Tregaskis <email@hidden>)

  • Prev by Date: Re: OT: WWDC 2004 DVD Set
  • Next by Date: Re: Const help
  • Previous by thread: Re: Framework and Prebinding
  • Next by thread: Re: Framework and Prebinding
  • Index(es):
    • Date
    • Thread