Skip navigation
Introducing Forge v0.1.0 🔥
0:00 / 0:47

Introducing Forge v0.1.0 🔥

Thomas

@zeroxtlt1.3K followers

Visit on X
1,085 likesDownloadOriginal post

70,506 views

Introducing Forge v0.1.0 🔥 A drop-in Cargo replacement & Rust compiler backend written 100% in Rust with 0 MB of LLVM. → 42× faster builds across git worktrees (shared cache) → 3.1× less CPU on cold builds, 20–52% smaller binaries → 18+ cross-compile targets built in, no Docker/GCC → Compiled rustc itself (72s, 89 MB vs 232 MB) Open source (MIT / Apache-2.0). Still early, feedback welcome 👇

37 Comments

Comments from the original post on X (Twitter)

  • Preetham Pemmasani's profile picture

    @ppmpreetham

    No, please. Rust compiler can be optimised for building faster, as @Kaezr1's blog says. There's no guarantee that one would maintain this project, whcichprobably won't give as much perf/speed/compat as cargo

    18 likes

  • Thomas's profile picture

    @zeroxtlt

    @Kaezr1 Yep but using LLVM is very important for them and it’s very very very slow So it would need a big breaking change And only a indie project like this can do it rn

    15 likes

  • Volkan's profile picture

    @volkanakielle

    congrats bro

    5 likes

  • Thomas's profile picture

    @zeroxtlt

    Thanks sir 🫡

    5 likes

  • fabisch kamau's profile picture

    @dark_phoenix254

    Testing it rn, i will be back with results.

    5 likes

  • Harris's profile picture

    @HarrisDePercept

    Too many "Forge"s 😬

    4 likes

  • Tropical's profile picture

    @tropix126

    if you want this to have actually serious uses, I would suggest following this advice

    4 likes

  • ryan lin's profile picture

    @ryanlin1986

    Just give it a try, the result is worse than rustc: Forge 的冷构建成功:同一 nightly、同一 13 包范围下,rustc 是 171.27 秒,Forge 是 180.64 秒;Forge 报告 390 个单元,其中 85 个写入了共享缓存。冷构建暂时慢约 5.5%,下一步看无改动热构建和真实单文件改动的增量构建。

    2 likes

  • Ivan Sokolov's profile picture

    @cetmix_team

    Great job, congrats! Will give it a try👍

    2 likes

  • yumei's profile picture

    @silly_capybara

    Tried it on a bigger workspace. Got ~2x less CPU on release builds, second worktree build was 2–3x faster, not the 42x, which is still good, but the binary crashed at startup (something about simd_adler32 AVX2). Also I am sceptical about the smaller binaries - for me that was only the case in debug builds, also it seemed to just remove some debug info from them

    1 like

  • Thomas's profile picture

    @zeroxtlt

    Just fixed in the 0.1.3 update

  • Little Dove 🕊️🕊️🕊️'s profile picture

    @sfplwall31

    Windows install?

    1 like

  • Thomas's profile picture

    @zeroxtlt

    I just added the command in the README + on the website :)

    1 like

  • Misbah Khursheed's profile picture

    @mmisbbahh

    @bot look into the repo and its research to see what we can scrape for out 4.1 build for rey

    1 like

  • Sleepstars's profile picture

    @Sleep_stars_

    Can the project guarantee binary consistency?

    1 like

  • el4cteo's profile picture

    @EL4CTEO

    Bullshit name choice

    1 like

  • Matt Mastracci's profile picture

    @mmastrac

    I'll try this in Tessera. We're struggling a bit with worktrees and CI times.

    1 like

  • Tanzim Hossain's profile picture

    @0xTanzim

    Owo... Congratulations 👏

    1 like

  • jondot's profile picture

    @jondot

    whats the catch?

    1 like

  • Thomas's profile picture

    @zeroxtlt

    Any catch must be an issue ;)

    1 like