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
-
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 -
…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 -
https://github.com/rui314/mold don't support live update, but fast enough to boost productivity.
comment by ifree · 2022-10-28 · in Bringing a dynamic environment to C: My linker project -
▲ 2
Mold 1.4.1 – macOS now available as an alpha featurestory by nickgerace · 2022-08-18 · 0 comments
-
…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…
comment by fwsgonzo · 2022-07-31 · in Carbon’s most exciting feature is its calling convention -
▲ 3
Release Mold 1.3.0story by todsacerdoti · 2022-06-24 · 0 comments
-
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!
comment by bertr4nd · 2022-06-19 · in Mold/macOS is 11 times faster than the Apple's default linker to link Chrome -
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…
comment by astrostl · 2022-06-19 · in Mold/macOS is 11 times faster than the Apple's default linker to link Chrome -
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…
comment by rui314 · 2022-06-19 · in Mold/macOS is 11 times faster than the Apple's default linker to link Chrome -
You may want to read this section of the README. https://github.com/rui314/mold#why-does-the-speed-of-linking...
comment by rui314 · 2022-06-19 · in Mold/macOS is 11 times faster than the Apple's default linker to link Chrome -
…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
comment by wyldfire · 2022-06-19 · in Mold/macOS is 11 times faster than the Apple's default linker to link Chrome -
https://github.com/rui314/mold#why-is-mold-so-fast
comment by aidenn0 · 2022-06-19 · in Mold/macOS is 11 times faster than the Apple's default linker to link Chrome -
…few other bits, like decoupling the build step in tauri from the frontend build, that helped. [0]: https://github.com/rui314/mold
comment by c0balt · 2022-06-16 · in Tauri 1.0 – Electron Alternative Powered by Rust -
…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=
comment by stefanos82 · 2022-06-16 · in Tauri 1.0 – Electron Alternative Powered by Rust -
…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
comment by OskarS · 2022-06-03 · in Using the mold linker for fun and 3x-8x link time speedups -
…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]…
comment by vladvasiliu · 2022-04-23 · in Show HN: Fleet – Experimental build tool for Rust that’s up to 5x faster -
…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 -
…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 -
> 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 -
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 -
>Try mold Curiosity got the better of me: https://github.com/rui314/mold
comment by petecooper · 2022-03-08 · in Apple M1 Ultra -
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 -
…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) -
▲ 3
Mold 1.1 high-speed linker adds support for Link-Time Optimization and RISC-Vstory by rui314 · 2022-02-22 · 0 comments
-
▲ 17
Mold 1.1story by marcodiego · 2022-02-21 · 2 comments
-
▲ 3
Mold 1.0.2story by hasheddan · 2022-01-23 · 0 comments
-
…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) -
…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
comment by fayten · 2022-01-06 · in The Lazarus team is glad to announce the release of Lazarus 2.2 -
…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
comment by jacobmarble · 2021-12-16 · in Mold 1.0: the first stable and production-ready release of the high-speed linker -
Lots of interesting things in the design document: https://github.com/rui314/mold/blob/main/docs/design.md
comment by U1F984 · 2021-12-15 · in Mold 1.0: the first stable and production-ready release of the high-speed linker -
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…
comment by Mizza · 2021-12-15 · in Mold 1.0: the first stable and production-ready release of the high-speed linker -
…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…
comment by gavinray · 2021-12-15 · in Mold 1.0: the first stable and production-ready release of the high-speed linker -
▲ 2
Mold/design.md at main · rui314/moldstory by jasim · 2021-12-15 · 2 comments
-
▲ 236
Mold 1.0: the first stable and production-ready release of the high-speed linkerstory by matt_d · 2021-12-15 · 65 comments
-
…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 -
That sort of depends: https://github.com/rui314/mold/issues/92#issuecomment-879709...
comment by bobbyskelton41 · 2021-07-26 · in BLAKE3 1.0 -
…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 -
▲ 3
Mold Linker 0.9 Release Notesstory by rui314 · 2021-06-29 · 0 comments
-
▲ 2
Mold: A Modern Linker, Release v0.1story by ingve · 2021-05-05 · 0 comments
-
▲ 299
Mold: A Modern Linkerstory by signa11 · 2021-02-23 · 122 comments
-
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…
comment by peter_d_sherman · 2021-02-05 · in Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores -
▲ 5
Mold: A Modern Linkerstory by vitaut · 2021-01-16 · 0 comments
-
▲ 2
mold: A Modern Linkerstory by matt_d · 2021-01-15 · 0 comments
-
▲ 1
Mold: A Modern Linkerstory by peter_d_sherman · 2020-12-13 · 1 comment
-
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