Hacker GitHub

← All repos

rui314/mold

View on GitHub ↗ ★ 17,716 Rust

mold 🦠: A Modern Linker in Rust 🦀

95 mentions on Hacker News by 80 people: 28 stories, 67 comments · first 2020-12-13 · latest 2026-10-05

Mentions per year 95 mentions · busiest year 2022 (34)
20082026
  1. Rui, can you open a new Discussions thread at https://github.com/rui314/mold so we can transfer the whole conversation there? We could ask for advice from other project developers that have succeeded on their own journey.
    comment by stefanos82 · 2022-11-13 · in Chibicc – A Small C Compiler
  2. …it prints a string saying "Mold Linker, Licensed to Vmware. Support license expires June 2023. See https://github.com/rui314/mold/wiki/support for details". If there is no license, or the license is expired, it prints "This program is…
    comment by londons_explore · 2022-11-07 · in Mold linker creator considers changing the license
  3. https://github.com/rui314/mold don't support live update, but fast enough to boost productivity.
  4. ▲ 2
    Mold 1.4.1 – macOS now available as an alpha feature
    story by nickgerace · 2022-08-18 · 0 comments
  5. …that they are creating a modern language. As an example, look at this issue from the mold linker: https://github.com/rui314/mold/issues/584 They are looking at creating an embeddable custom dynamic linker in order to greatly reduce loading…
  6. ▲ 3
    Release Mold 1.3.0
    story by todsacerdoti · 2022-06-24 · 0 comments
  7. Ah, I overlooked this explanation at first: https://github.com/rui314/mold/blob/main/docs/design.md Thanks for the great write up as well as mold itself!
  8. I can infer from context that mold is a linker. It took searching for https://github.com/rui314/mold to learn what it actually was, though: "mold is a faster drop-in replacement for existing Unix linkers. It is several times faster than…
  9. It's being discussed ( https://github.com/rui314/mold/issues/117 ) but haven't reached any conclusion. The problem is that the jobserver protocol assumes that one process is one job, and its model doesn't fit very well to programs such as…
  10. You may want to read this section of the README. https://github.com/rui314/mold#why-does-the-speed-of-linking...
  11. …LTO [1]. But if it were to, could we still expect performance gain over lld when doing LTO? [1] https://github.com/rui314/mold/issues/181
  12. https://github.com/rui314/mold#why-is-mold-so-fast
  13. …few other bits, like decoupling the build step in tauri from the frontend build, that helped. [0]: https://github.com/rui314/mold
  14. …know whether it improves your compile times or not? Here's the instructions for using it with Rust: https://github.com/rui314/mold#how-to-use=
  15. …this trick before, but it's the rare combination of "genius" and "obvious in retrospect". [1]: https://github.com/rui314/mold/blob/main/docs/design.md
  16. …the recommendations from sccache and mold. sccache: https://github.com/mozilla/sccache#usage mold: https://github.com/rui314/mold#how-to-use My own cargo.toml: [build] rustc-wrapper = "/usr/bin/sccache" [target.x86_64-unknown-linux-gnu]…
  17. …of significantly faster linkers, I personally use mold[1], including when writing in Rust. [1]: https://github.com/rui314/mold
    comment by higherhalf · 2022-03-15 · in Rpath, or why lld doesn’t work on NixOS
  18. …13 (3.18 GiB): 64.12s | 5.82s | 2.90s Firefox 89 libxul (1.64 GiB): 32.95s | 6.80s | 1.42s [0] https://github.com/rui314/mold edit: add citation, info, times, link, will -> might, and formatting.
    comment by scns · 2022-03-10 · in Things I hate about Rust, redux
  19. > https://github.com/rui314/mold would suggest otherwise. Does it, though? I mean, if you read that link you'll notice it boasts the linker's performance by comparing it with cp and how it's "so fast that it is only 2x slower than cp on…
    comment by fivea · 2022-03-09 · in Apple M1 Ultra
  20. Osmos.io is built on Rust so that’s LLVM. No commercial vendor involved. There is Mold ( https://github.com/rui314/mold ) as an alternative but it doesn’t support MacOS yet and that’s a blocker for our team.
    comment by kiratp · 2022-03-09 · in Apple Mac Studio
  21. >Try mold Curiosity got the better of me: https://github.com/rui314/mold
    comment by petecooper · 2022-03-08 · in Apple M1 Ultra
  22. https://github.com/rui314/mold would suggest otherwise. Massive speedups by multithreading the linker. I think traditional linkers just aren't highly optimised.
    comment by nicoburns · 2022-03-08 · in Apple M1 Ultra
  23. …I would recommend anyone using an llvm based compiler, like rustc or clang, to give it a try. [0]: https://github.com/rui314/mold
    comment by c0balt · 2022-03-05 · in Beginners Guide to Linkers (2005)
  24. ▲ 3
    Mold 1.1 high-speed linker adds support for Link-Time Optimization and RISC-V
    story by rui314 · 2022-02-22 · 0 comments
  25. ▲ 17
    Mold 1.1
    story by marcodiego · 2022-02-21 · 2 comments
  26. ▲ 3
    Mold 1.0.2
    story by hasheddan · 2022-01-23 · 0 comments
  27. …speed-up (> 10x) for incremental debug builds of a large project with around 450 dependencies. [1] https://github.com/rui314/mold
    comment by djdjfhsje33edh · 2022-01-12 · in “Modern” C++ Lamentations (2018)
  28. …yet? FPC compiles insanely fast, but larger projects can still get caught up with the linker. [1] https://github.com/rui314/mold/tree/v1.0.0
  29. …a more liberal license such as the MIT license. For now, mold is released under the GNU AGPL v3. https://github.com/rui314/mold/blob/main/LICENSE
  30. Lots of interesting things in the design document: https://github.com/rui314/mold/blob/main/docs/design.md
  31. I think this is an interesting model: https://github.com/rui314/mold/blob/main/LICENSE I'm glad he's doing this as (A)GPL. It's great work and it's Free for the people. If you want the option for it to be private, feel free to step up and…
  32. …of both of the two fastest linkers in existence, AFAIK. This person has a very impressive resume. https://github.com/rui314/mold/blob/main/docs/design.md > "Concretely speaking, I want to use the linker to link a Chromium executable (~1.8…
  33. ▲ 2
    Mold/design.md at main · rui314/mold
    story by jasim · 2021-12-15 · 2 comments
  34. ▲ 236
    Mold 1.0: the first stable and production-ready release of the high-speed linker
    story by matt_d · 2021-12-15 · 65 comments
  35. …engineers do. Until then, single core performance numbers will continue to matter for me. [1] https://github.com/rui314/mold
    comment by josephg · 2021-10-21 · in Apple M1 Max Geekbench Score
  36. That sort of depends: https://github.com/rui314/mold/issues/92#issuecomment-879709...
    comment by bobbyskelton41 · 2021-07-26 · in BLAKE3 1.0
  37. …It's a very comfortable order of magnitude faster than gold, and starting to become pretty stable. https://github.com/rui314/mold
    comment by tux3 · 2021-07-18 · in GNU Binutlis 2.37 has been released
  38. ▲ 3
    Mold Linker 0.9 Release Notes
    story by rui314 · 2021-06-29 · 0 comments
  39. ▲ 2
    Mold: A Modern Linker, Release v0.1
    story by ingve · 2021-05-05 · 0 comments
  40. ▲ 299
    Mold: A Modern Linker
    story by signa11 · 2021-02-23 · 122 comments
  41. This seems to be a little bit related to this quest for fast compilation: The "mold" linker: https://github.com/rui314/mold >"Concretely speaking, I wanted to use the linker to link a Chromium executable with full debug info (~2 GiB in…
  42. ▲ 5
    Mold: A Modern Linker
    story by vitaut · 2021-01-16 · 0 comments
  43. ▲ 2
    mold: A Modern Linker
    story by matt_d · 2021-01-15 · 0 comments
  44. ▲ 1
    Mold: A Modern Linker
    story by peter_d_sherman · 2020-12-13 · 1 comment
  45. The guy who wrote lld is working on a new, faster linker here: https://github.com/rui314/mold
    comment by tekknolagi · 2020-12-13 · in Free Pascal