HNHacker News
TopNewBestAskShowJobs

covector

110 karma · joined June 6, 2023

submissionscomments
covector··on Mergeable libraries [video]
lld has parallelism here and there, as well as ld64. I do believe ld64 is technically the first linker that started parsing object files in parallel.

Parallel linking was conjectured impossible for a while without breaking static archive semantics (AB-BA problem). Michael has a good explanation in https://www.youtube.com/watch?v=ONGVraXbJOo (minute 3 and beyond).

covector··on Mergeable libraries [video]
Documentation at

https://developer.apple.com/documentation/xcode/configuring-...

covector··on Apple Releases New Static Linker
> ld64 is a fork of the old and slow GCC ld linker.

ld64 was a complete rewrite, circa 2005, courtesy of Nick Kledzik. `opensource.apple.com` has still the old Changelog(s). https://github.com/rotten-apples/ld64/blob/master/ChangeLog

covector··on Apple Releases New Static Linker
It looks like the gap between the two is very little (< 100ms) and the Apple linker performs slightly better than mold on large applications: https://twitter.com/SmileyKeith/status/1666168273199845377