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
20082026
-
…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
comment by flohofwoe · 2026-10-05 · in Mold Linker Version 3.0.0 Release – Rewritten in Rust -
…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…
comment by ndiddy · 2026-10-05 · in Mold Linker Version 3.0.0 Release – Rewritten in Rust -
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."
comment by as-182 · 2026-10-05 · in Mold Linker Version 3.0.0 Release – Rewritten in Rust -
…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...
comment by Aissen · 2026-10-05 · in Mold Linker Version 3.0.0 Release – Rewritten in Rust -
▲ 247
Mold Linker Version 3.0.0 Release – Rewritten in Ruststory by roflcopter69 · 2026-10-05 · 197 comments
-
▲ 3
Official mold linker rewrite in Ruststory by adamnemecek · 2026-09-19 · 0 comments
-
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] -
…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) -
…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 -
PSA: try https://github.com/rui314/mold (Not affiliated with the project. Just switched to it and never looked back.)
comment by balamatom · 2025-10-09 · in Goiaba: An experimental Go compiler, written in Rust -
…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 -
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 -
…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
comment by drysine · 2025-08-24 · in Ask HN: Best codebases to study to learn software design? -
▲ 1
O(n) multi-glob pattern matcher based on bitvectorsstory by timn · 2025-06-09 · 0 comments
-
This could speed up linking: https://github.com/rui314/mold
comment by ryao · 2025-01-21 · in I wrote a commercial game in C in 2025 -
▲ 1
Mold 2.35.0 – a new release of the high-speed linkerstory by gjvc · 2024-12-09 · 0 comments
-
▲ 2
Mold: A Modern Linkerstory by skp1995 · 2024-11-22 · 0 comments
-
▲ 3
Mold: A Modern Linker (superfast linker)story by bjourne · 2024-10-22 · 0 comments
-
▲ 3
Mold: A Modern Linkerstory by gone35 · 2024-10-18 · 0 comments
-
…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) -
…- 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) -
▲ 2
Mold 2.32 Released with powerful new featuresstory by edelsohn · 2024-06-10 · 0 comments
-
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 -
…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,…
comment by nindalf · 2024-03-19 · in I reduced (incremental) Rust compile times by up to 40% -
…technique used in mold[0] that can vastly benefit from a) faster memory, b) a wider memory bus. [0] https://github.com/rui314/mold
comment by inkyoto · 2023-12-31 · in Tracking developer build times to decide if the M3 MacBook is worth upgrading -
Add mold into the mix, and you're in C++ heaven. https://github.com/rui314/mold
comment by bogwog · 2023-12-19 · in How many CPU cores can you use in parallel? -
I initially thought this would be about the mold linker ( https://github.com/rui314/mold )
comment by lovasoa · 2023-12-06 · in Mold Course -
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 -
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 -
▲ 10
Monetizing Developer Toolsstory by hugodutka · 2023-08-25 · 7 comments
-
▲ 430
Mold 2.0story by fomine3 · 2023-07-26 · 108 comments
-
▲ 1
Design and Implementation of the Mold Linkerstory by hasheddan · 2023-06-08 · 0 comments
-
> Mold did it first, though: https://github.com/rui314/mold Before LLD?
comment by ndesaulniers · 2023-06-07 · in Mergeable libraries [video] -
…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] -
…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 -
…productivity by minimizing build time, particularly in rapid debug-edit-rebuild cycles. Source: https://github.com/rui314/mold
comment by Hackbraten · 2023-05-23 · in Mold: Windows version is going to be a source-available commercial product -
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? -
Using mold might help in this case. https://github.com/rui314/mold https://github.com/rust-lang/rust/issues/94347
comment by scns · 2023-02-04 · in Improving Rust compile times to enable adoption of memory safety -
…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 -
▲ 117
Mold – A really fast linkerstory by netr0ute · 2023-01-14 · 58 comments
-
You should definitely check out Mold: https://github.com/rui314/mold
comment by johnklos · 2023-01-13 · in Intel Launches $699 Core I9-13900KS, the First 6 GHz CPU: Available Now -
…sponsoring the project. https://twitter.com/rui314/status/1593464571586830336 See Licensing on https://github.com/rui314/mold/releases/tag/v1.7.0
comment by pjmlp · 2022-12-27 · in Mold linker: targeting macOS/iOS now requires a commercial license -
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
comment by TAForObvReasons · 2022-12-27 · in Mold linker: targeting macOS/iOS now requires a commercial license -
▲ 145
Mold linker: targeting macOS/iOS now requires a commercial licensestory by Kukumber · 2022-12-26 · 74 comments
-
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 -
▲ 4
mold: A Modern Linkerstory by tosh · 2022-11-13 · 1 comment
-
▲ 205
Mold linker may switch to a source-available licensestory by MForster · 2022-11-13 · 206 comments