[HN Gopher] Apple Releases New Static Linker
       ___________________________________________________________________
        
       Apple Releases New Static Linker
        
       Author : hasheddan
       Score  : 84 points
       Date   : 2023-06-06 19:59 UTC (3 hours ago)
        
 (HTM) web link (twitter.com)
 (TXT) w3m dump (twitter.com)
        
       | WhereIsTheTruth wrote:
       | Hopefully this will support more architectures in the future,
       | that's pretty impressive
        
         | scottlamb wrote:
         | > Hopefully this will support more architectures in the future,
         | that's pretty impressive
         | 
         | What architectures would it support? I assume it handles
         | aarch64. It may already handle x86-64. macOS and iOS don't run
         | on any others. I doubt Apple would be interested in making it
         | support other OSs that run on more architectures.
         | 
         | (It's probably a faux pax of me to say this, but I wonder if
         | the parent comment was written by a LLM...)
        
       | sunday_serif wrote:
       | Can anyone recommend a resource on how linkers work other than
       | the "Linkers and Loaders" book? Maybe a linker repo that is
       | easier to read through, or a more modern book or series of
       | articles on the topic?
       | 
       | No shame on the book, it is a classic, but it is certainly a bit
       | long in the tooth.
       | 
       | I am very interested in linkers, but find them a bit inaccessible
       | to learn about.
        
         | canucker2016 wrote:
         | Look at Gold and Mold
         | 
         | Gold blog posts:
         | 
         | https://www.airs.com/blog/archives/38 and
         | https://en.wikipedia.org/wiki/Gold_(linker)
         | 
         | Design and implementation of Mold:
         | 
         | https://github.com/rui314/mold/blob/main/docs/design.md
        
       | EscapeFromNY wrote:
       | Here's a benchmark from the author of the mold linker:
       | 
       | https://twitter.com/nabbisen/status/1665936938837344256
       | 
       | > I installed Xcode 15 Beta to try out the new Apple's linker. It
       | seems that my mold/sold linker is still a bit faster than theirs,
       | but the gap has now reduced to ~60% when linking the sold linker
       | itself on my Mac Studio. Apple's new linker is in the same league
       | as mine. Great job!
        
         | covector wrote:
         | 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
        
       ___________________________________________________________________
       (page generated 2023-06-06 23:01 UTC)