Announcement

Collapse
No announcement yet.

Mold 1.0 Released As A Modern High-Speed Linker Alternative To GNU Gold, LLVM LLD

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by direc85 View Post
    I didn't check of there's a story behind the name "mold" but come on... I know the Linux community loves bad puns, but wasn't "weld" available? It's one way to make links, after all
    Maybe it is a pun on "GNU Gold". Mold rhymes with gold.

    Originally posted by sdack View Post
    Why call it mold when it is new? *lol*
    Maybe it is a pun on "GNU Gold". Mold rhymes with gold.

    Comment


    • #12
      Originally posted by uid313 View Post

      Maybe it is a pun on "GNU Gold". Mold rhymes with gold.



      Maybe it is a pun on "GNU Gold". Mold rhymes with gold.
      I think that gold was choosen because gold was develped by Google, so they added prefix go to ld -> gold

      Mold rhymes with gold, and one more reason, I asume,
      mo prefix is because "a modern linker" (according to the repo page)

      Comment


      • #13
        Originally posted by carewolf View Post

        LTO "linking" isn't really linking. It is compilation. So a different task and done by the compiler.
        LTO linking isn’t exactly compilatiom.
        It is running optimization passes in the linker.
        That’s why it is called Link Time Optimization since it is run in the linker.



        Here is an article from LLVM explaning design of LTO, https://llvm.org/docs/LinkTimeOptimization.html it explicitly mentions that LTO is run in the linker:


        In this model, the linker treats LLVM bitcode files like native object files and allows mixing and matching among them. The linker uses libLTO, a shared object, to handle LLVM bitcode files. This tight integration between the linker and LLVM optimizer helps to do optimizations that are not possible in other models. The linker input allows the optimizer to avoid relying on conservative escape analysis.

        Comment


        • #14
          Originally posted by uid313 View Post
          Maybe it is a pun on "GNU Gold". Mold rhymes with gold.
          Mokay.

          Comment


          • #15
            Originally posted by sdack View Post
            Why call it mold when it is new? *lol*
            So you can call it Penicillin as it matures?

            Comment


            • #16
              Does the linker play a role in app startup time? I mean is it "linking" anything when the OS is executing an application or only during compilation time?

              Comment


              • #17
                Originally posted by carewolf View Post
                LTO "linking" isn't really linking. It is compilation. So a different task and done by the compiler.
                and probably linker speed isn't an issue in an lto build

                Comment


                • #18
                  Originally posted by uid313 View Post

                  Maybe it is a pun on "GNU Gold". Mold rhymes with gold.



                  Maybe it is a pun on "GNU Gold". Mold rhymes with gold.
                  Thanks, Jacob Two-Two.

                  Comment


                  • #19
                    Originally posted by NobodyXu View Post

                    LTO linking isn’t exactly compilatiom.
                    It is running optimization passes in the linker.
                    That’s why it is called Link Time Optimization since it is run in the linker.



                    Here is an article from LLVM explaning design of LTO, https://llvm.org/docs/LinkTimeOptimization.html it explicitly mentions that LTO is run in the linker:
                    Yeah, the compiler run in the linker. In other words done by the compiler. And it is optimizations, but mainly it is compilation. Turning intermediate code into binary code.

                    Comment


                    • #20
                      Originally posted by pal666 View Post
                      and probably linker speed isn't an issue in an lto build
                      Well it is pretty slow, but yes, it is a separate issue.

                      Comment

                      Working...
                      X