mold

Mold: A Modern Linker 🦠 (by rui314)

Mold Alternatives

Similar projects and alternatives to mold

  1. rust

    2,825 mold VS rust

    Empowering everyone to build reliable and efficient software.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. zig

    876 mold VS zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  4. bevy

    594 mold VS bevy

    A refreshingly simple data-driven game engine built in Rust

  5. tauri

    508 mold VS tauri

    Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

  6. Cargo

    275 mold VS Cargo

    The Rust package manager

  7. tokio

    219 mold VS tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

  8. wasmtime

    187 mold VS wasmtime

    A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. actix-web

    180 mold VS actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

  11. Rocket

    162 mold VS Rocket

    A web framework for Rust.

  12. clap-rs

    158 mold VS clap-rs

    A full featured, fast Command Line Argument Parser for Rust

  13. gccrs

    104 mold VS gccrs

    GCC Front-End for Rust

  14. sccache

    74 mold VS sccache

    Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.

  15. Wails

    66 mold VS Wails

    Create beautiful applications using Go

  16. ninja

    53 mold VS ninja

    a small build system with a focus on speed

  17. miniserve

    53 mold VS miniserve

    🌟 For when you really just want to serve some files over HTTP right now!

  18. rustc_codegen_cranelift

    Cranelift based backend for rustc

  19. chibicc

    22 mold VS chibicc

    A small C compiler

  20. zld

    10 mold VS zld

    Discontinued A faster version of Apple's linker

  21. fleet

    17 mold VS fleet

    🚀 The blazing fast build tool for Rust. (by dimensionhq)

  22. sold

    10 mold VS sold

    Discontinued The sold linker

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better mold alternative or higher similarity.

mold discussion

Log in or Post with

mold reviews and mentions

Posts with mentions or reviews of mold. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-10.
  • How I solved the "error: linking with cc failed" in Large Rust Projects with Mold.
    2 projects | dev.to | 10 Feb 2025
    What I am going to explain is based on my experience dealing with that error. When we are installing and building a project, this compilation process is being done with a default compiler configuration. And this default configuration does not mean that it is the most efficient. Causing this process to fail in projects with huge codebases. It turns out that there is a tool called mold. Mold is a modern linker that makes this linking process much more efficient than the default configuration that the compiler already has. Saving resources and allowing the project in question to be built. Setting it up is quite simple. It is configured as follows:
  • I wrote a commercial game in C in 2025
    1 project | news.ycombinator.com | 20 Jan 2025
  • Mold 2.35.0 – a new release of the high-speed linker
    1 project | news.ycombinator.com | 9 Dec 2024
  • Mold: A Modern Linker
    1 project | news.ycombinator.com | 21 Nov 2024
    1 project | news.ycombinator.com | 18 Oct 2024
  • Mold: A Modern Linker (superfast linker)
    1 project | news.ycombinator.com | 22 Oct 2024
  • A 20-part deep dive into how linkers work
    1 project | news.ycombinator.com | 22 Aug 2024
  • Mold 2.32 Released with powerful new features
    1 project | news.ycombinator.com | 10 Jun 2024
  • I reduced (incremental) Rust compile times by up to 40%
    1 project | news.ycombinator.com | 19 Mar 2024
    I think this is unlikely to gain traction. I say that no to discourage you, just to explain.

    - The community has an instinctive distrust of closed source or a compiler from an untrusted source. If you’re familiar with the Trusting Trust attack you’ll understand why.

    - Dev tools in every language ecosystem are almost always free, unless they involve some kind of hosting. People aren’t used to opening their wallets. 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, C++, Rust), CPU architectures and Operating Systems. You don’t even have to modify your compiler, just need to point to his linker. He’s even giving it away for free for personal use. But still, almost no one uses it. The inertia of the established options is really high.

    - It’s not complex enough. Think about the complexity involved in the cranelift backend. No one can seriously recreate the efforts of bjorn3. If we could have, we would have. But the idea idea here can be recreated, especially by the experts who already built incremental compilation into rustc.

    - But if your solution is truly complex, like the parallel frontend, the burden of maintaining a fork would be too high. You’d have to spend all your time rebasing.

    Again I’m not trying to discourage you, just stating the difficulties of making a business in the dev tools space. You would be better off contributing this excellent work to the community and trying a different tack.

  • Mold Course
    1 project | news.ycombinator.com | 6 Dec 2023
    I initially thought this would be about the mold linker (https://github.com/rui314/mold)
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic mold repo stats
187
15,177
9.8
7 days ago

rui314/mold is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of mold is C++.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?