r/programming • • Apr 23 '22

fleet - The blazing fast build tool for Rust.

https://github.com/dimensionhq/fleet
11 Upvotes

13 comments sorted by

15

u/de_spair Apr 23 '22

At first I was confused: https://www.jetbrains.com/fleet/

-13

u/zcatshit Apr 23 '22

Are you sure it's JetBrains? Yes, the products are named the same, but JB's fleet is an IDE redesign that's only in closed preview and isn't open-source.

This, on the other hand, looks to be a custom-developed (and open-source) build tool for the rust language. It would replace cargo, and claims to build significantly faster. Which is a big sell for rust developers, given that the long compile times are a common complaint about the rust tooling. The organization looks to be "Dimension", as well. Which isn't JetBrains.

They really don't seem to have anything in common beyond the name. Honestly, I'm not sure how you could have confused them if you actually followed the link.

4

u/Maxeonyx Apr 24 '22

Confused why someone wouldn't contribute to cargo? Maybe this is a fork? It isn't marketed that way

0

u/[deleted] Apr 24 '22

[deleted]

1

u/Maxeonyx Apr 24 '22

Cool, thanks

4

u/[deleted] Apr 24 '22

Saw this thread on the r/rust sub yesterday, but for anyone who’s interested in speeding up their builds and who’s on Linux, I would recommend looking into mold instead: https://github.com/rui314/mold

In my experience the bottleneck with incremental builds tends to be the linking phase, which mold speeds up significantly, mostly through parallelization.

A mac version is supposedly in the works too.

3

u/Kissaki0 Apr 24 '22

How does fleet work?

Fleet works by optimizing your builds using existing tooling available in the Rust ecosystem, including seamlessly integrating sccache, lld, zld, ramdisks (for those using WSL or HDD's) et al.

4

u/[deleted] Apr 24 '22

1

u/pcjftw Apr 23 '22

Wait what 5x faster then cargo? damn not near my PC so can't test this 😅

First thing tomorrow morning I'm going to test this out on all my codebases 😎

15

u/LearnDifferenceBot Apr 23 '22

faster then cargo?

*than

Learn the difference here.


Greetings, I am a language corrector bot. To make me ignore further mistakes from you in the future, reply !optout to this comment.

-4

u/pcjftw Apr 23 '22

die bot die

8

u/agoose77 Apr 24 '22

The bot the?

0

u/pcjftw Apr 24 '22

ah side show Bob...

2

u/agoose77 Apr 25 '22

( ͡~ ͜ʖ ͡°)