News for hackers. Stuff that matters.
Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @10:31AM (#33317141)
> What could it possibly be doing?

If memory serves: point-symbol optimizations to make code calls into The objective-C libraries performant.

Under The hood, objective-C really does use strings to reference library functions. So when the OS is updated, the string interning table is updated and all of the installed software has to have its string to symbol caches rewritten to account for the new API.

There are almost certainly better ways to do this but if I understand correctly, Apple inherited the existing solution without putting enough thought into how it would scale and now changing the solution would break an indeterminate amount of software depending upon the current implementation.

Re:I help seniors with technology issues. A regular came in ... by saagarjha on Monday October 24, 2022 @10:45AM (#33317352)
No, installed software is not patched on updates.
Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @11:02AM (#33317607)
Not "installed software patched;" caches rebuilt.
Re:I help seniors with technology issues. A regular came in ... by saagarjha on Monday October 24, 2022 @11:03AM (#33317623)
They come from Apple on a signed system image that cannot be modified.
Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @11:27AM (#33317967)
Sorry, can you clarify? What is the "they" in that sentence?

EDIT: a sibling comment jogged my memory; the thing I was doing a bad job of remembering was prebinding. https://opensource.apple.com/source/cctools/cctools-622.5.1/...

When a new version of the OS is installed, the OS re-runs prebinding for applications to the dynamic libraries they rely on because the dynamic libraries may have changed. The alternative is to have a big latency bump every time an app is launched for the first time as the caches are rebuilt on-the-fly.

(I think this is the step that used to be called "Making Your Macintosh Happy" during an install, but the veracity of that notion has fallen too far down the Google search hole for me to easily pull up a reference to confirm or deny it).

Re:I help seniors with technology issues. A regular came in ... by plorkyeran on Monday October 24, 2022 @12:10PM (#33318574)
That's no longer done on install. The modern equivalent of it is part of the signed image that you download from Apple.
Re:I help seniors with technology issues. A regular came in ... by batman-farts on Monday October 24, 2022 @11:12AM (#33317776)
Yes, it’s been like this since the 10.0/public beta days at least. I remember wondering about it back then. I believe the command the system updater always runs is something like update_prebinding -root /
Re:I help seniors with technology issues. A regular came in ... by atonse on Tuesday October 25, 2022 @07:57AM (#33329326)
And they can’t precompute those caches for particular libraries and ISA combinations? They know exactly what hardware it’ll run on.