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. …stuff, I guess Rust doesn't have a concept of varargs?), so it could be called a C/Rust project ;) https://github.com/rui314/mold/tree/main/c
  2. …saying that the software is provided as-is without any warranty or guarantee of functionality (i.e. https://github.com/rui314/mold/blob/main/LICENSE ). Unless I had a support agreement with the maintainers that superseded that document, I…
  3. https://github.com/rui314/mold/releases/tag/v2.42.1 "Recent advances in AI-assisted coding have made large-scale rewrites considerably more practical, but they do not eliminate those risks, and we do not take them lightly."
  4. …agents era now. Edit: this seems to have been cooking for a while when the first commit dropped: https://github.com/rui314/mold/commit/f41bfcd5c72ca30cce6498...
  5. ▲ 247
    Mold Linker Version 3.0.0 Release – Rewritten in Rust
    story by roflcopter69 · 2026-10-05 · 197 comments
  6. ▲ 3
    Official mold linker rewrite in Rust
    story by adamnemecek · 2026-09-19 · 0 comments
  7. Have you switched to a faster linker [0] yet? Do you use sccache? [0] https://github.com/rui314/mold
    comment by scns · 2026-05-27 · in Performance of Rust Language [pdf]
  8. …and https://lld.llvm.org/ The developer behind the lld linker then developed the mold linker - see https://github.com/rui314/mold and https://news.ycombinator.com/item?id=34382908 There's also the wild linker - see…
    comment by canucker2016 · 2025-11-04 · in Linkers (2007)
  9. …is O(total code size) even if the actual compilation is incremental. See mold's linking benchmarks: https://github.com/rui314/mold . It can be the difference between multiple 10s of seconds with traditional linkers vs <2s with newers ones.…
    comment by nicoburns · 2025-10-27 · in Rust cross-platform GPUI components
  10. PSA: try https://github.com/rui314/mold (Not affiliated with the project. Just switched to it and never looked back.)
  11. …as having a hot-reloadable language but it gets you to a relatively pleasant speed still IME [1] https://github.com/rui314/mold [2] https://github.com/mozilla/sccache [3] https://github.com/rust-lang/rustc_codegen_cranelift
    comment by chiffaa · 2025-08-28 · in Unexpected productivity boost of Rust
  12. there are plenty of linkers that parallelize linking https://github.com/rui314/mold?tab=readme-ov-file#why-is-mol... https://llvm.org/devmtg/2017-10/slides/Ueyama-lld.pdf
    comment by almostgotcaught · 2025-08-24 · in It is worth it to buy the fast CPU
  13. …the mold linker design[1]. [0] https://docs.seastar.io/master/tutorial.html#asynchronous-pr... [1] https://github.com/rui314/mold/blob/main/docs/design.md
  14. ▲ 1
    O(n) multi-glob pattern matcher based on bitvectors
    story by timn · 2025-06-09 · 0 comments
  15. This could speed up linking: https://github.com/rui314/mold
  16. ▲ 1
    Mold 2.35.0 – a new release of the high-speed linker
    story by gjvc · 2024-12-09 · 0 comments
  17. ▲ 2
    Mold: A Modern Linker
    story by skp1995 · 2024-11-22 · 0 comments
  18. ▲ 3
    Mold: A Modern Linker (superfast linker)
    story by bjourne · 2024-10-22 · 0 comments
  19. ▲ 3
    Mold: A Modern Linker
    story by gone35 · 2024-10-18 · 0 comments
  20. …to 11... LLD (part of LLVM): https://llvm.org/devmtg/2017-10/slides/Ueyama-lld.pdf MOLD linker: https://github.com/rui314/mold/blob/main/docs/design.md Apple released a new linker that's in the same ballpark as mold - see following link…
    comment by canucker2016 · 2024-08-22 · in A deep dive into how linkers work (2008)
  21. …- RETURNN (my own): https://returnn.readthedocs.io/en/latest/getting_started/tec... - Mold: https://github.com/rui314/mold/blob/main/docs/design.md And then for some popular projects you will also find some independent overviews: - Quake:…
    comment by albertzeyer · 2024-06-17 · in The Programmer's Brain (2021)
  22. ▲ 2
    Mold 2.32 Released with powerful new features
    story by edelsohn · 2024-06-10 · 0 comments
  23. Have you tried mold [1]? In my experience, it makes a dramatic difference to link times. [1] https://github.com/rui314/mold/
    comment by Liquid_Fire · 2024-04-29 · in Speeding up C++ build times
  24. …even free tools don’t get adopted. Look the experience of the guy who built the mold linker( https://github.com/rui314/mold ). Far superior to the state of art, improves incremental compiles a lot, widely applicable across ecosystems (C,…
  25. …technique used in mold[0] that can vastly benefit from a) faster memory, b) a wider memory bus. [0] https://github.com/rui314/mold
  26. Add mold into the mix, and you're in C++ heaven. https://github.com/rui314/mold
  27. I initially thought this would be about the mold linker ( https://github.com/rui314/mold )
    comment by lovasoa · 2023-12-06 · in Mold Course
  28. I assume this submission is trying to highlight the specific message (2023-01-24) : https://github.com/rui314/mold/issues/190#issuecomment-14028... Fyi... the author wrote a more expansive blog post about selling open-source dev tools a…
    comment by jasode · 2023-08-25 · in Monetizing Developer Tools
  29. It looks like HN automatically stripped the reference to the comment I originally linked to: https://github.com/rui314/mold/issues/190#issuecomment-14028... . The title should be more clear in this context.
    comment by hugodutka · 2023-08-25 · in Monetizing Developer Tools
  30. ▲ 10
    Monetizing Developer Tools
    story by hugodutka · 2023-08-25 · 7 comments
  31. …link.exe flags for compatibility), which is already significantly faster than link.exe. [1]: https://github.com/rui314/mold/issues/190#:~:text=I%27ve%20a...
    comment by delta_p_delta_x · 2023-07-27 · in Mold 2.0
  32. I'm amazed at how quickly the author responds to requests: https://github.com/rui314/mold/issues/1057 From the report to the fix in less than two days. I'm not sure how competitive it will be with lld, especially if we consider ThinLTO…
    comment by zX41ZdbW · 2023-07-26 · in Mold 2.0
  33. …payment processors, and product tracking. Selling licenses should be easy, not a hassle. [1] https://github.com/rui314/mold/releases/tag/v2.0.0
    comment by hgs3 · 2023-07-26 · in Mold 2.0
  34. ▲ 430
    Mold 2.0
    story by fomine3 · 2023-07-26 · 108 comments
  35. ▲ 1
    Design and Implementation of the Mold Linker
    story by hasheddan · 2023-06-08 · 0 comments
  36. > Mold did it first, though: https://github.com/rui314/mold Before LLD?
    comment by ndesaulniers · 2023-06-07 · in Mergeable libraries [video]
  37. …comes in addition to rewriting their linker to be massively parallel. Mold did it first, though: https://github.com/rui314/mold edit: lld did it first, mold improved upon it A faster development cycle is one of the coolest improvements…
    comment by conradev · 2023-06-07 · in Mergeable libraries [video]
  38. …and https://en.wikipedia.org/wiki/Gold_(linker) Design and implementation of Mold: https://github.com/rui314/mold/blob/main/docs/design.md
    comment by canucker2016 · 2023-06-06 · in Apple Releases New Static Linker
  39. …productivity by minimizing build time, particularly in rapid debug-edit-rebuild cycles. Source: https://github.com/rui314/mold
  40. Have you tried the mold linker? I've been using it and it works pretty well, quite fast. https://github.com/rui314/mold
    comment by satvikpendem · 2023-05-19 · in Ask HN: Is Moore's Law over, or not?
  41. Using mold might help in this case. https://github.com/rui314/mold https://github.com/rust-lang/rust/issues/94347
  42. …AGPL, even by accident. [0] https://bluewhalesystems.blogspot.com/2022/11/mold-linker-ma... [1] https://github.com/rui314/mold#license
    comment by satvikpendem · 2023-01-14 · in Mold – A really fast linker
  43. ▲ 117
    Mold – A really fast linker
    story by netr0ute · 2023-01-14 · 58 comments
  44. You should definitely check out Mold: https://github.com/rui314/mold
  45. …sponsoring the project. https://twitter.com/rui314/status/1593464571586830336 See Licensing on https://github.com/rui314/mold/releases/tag/v1.7.0
  46. or the core ideas from mold [1] make their way to gold and other linkers. [1] https://github.com/rui314/mold/blob/main/docs/design.md
  47. ▲ 145
    Mold linker: targeting macOS/iOS now requires a commercial license
    story by Kukumber · 2022-12-26 · 74 comments
  48. TL;DR from https://github.com/rui314/mold/releases/tag/v1.7.0 > I'd like to inform users that I'm seriously considering changing the mold's license from AGPL to a source-available license unless I secure big funding. The new license would…
    comment by asicsp · 2022-11-14 · in Problem with my open-source startup
  49. ▲ 4
    mold: A Modern Linker
    story by tosh · 2022-11-13 · 1 comment
  50. ▲ 205
    Mold linker may switch to a source-available license
    story by MForster · 2022-11-13 · 206 comments