2 ms·
Even ignoring the race condition, has stating shared libraries ever been documented as a method to ascertain existence of a shared library? My guess as to the
by Someone 6y ago
Even ignoring the race condition, has stating shared libraries ever been documented as a method to ascertain existence of a shared library?
My guess as to the reason: I would guess the new way is faster, more secure, or takes less memory. Leaving an unused copy of binaries around would be wasting disk space (and yes, disks are enormous nowadays, but SSDs aren’t)
It may cache data from Apple’s servers, but calling it a cache sounds incorrect, though.
- barrkel 6y agoI wouldn't think it's any of those reasons. I'd rather think it's to transparently serve up different libraries based on the caller, even if the name is the same, in the name of compatibility or something like it.