Re:Rust – Faster compilation with the parallel front-end in ...
by lucasyvas on Friday November 10, 2023 @10:10AM
(#38219783)
> We're considering switching to dolladollabills
I thought this was a joke. That has to be one of the best library names I've ever seen.
Re:Rust – Faster compilation with the parallel front-end in ...
by FridgeSeal on Friday November 10, 2023 @03:29PM
(#38224093)
> async-stripe takes over two minutes to build due to codegen. We're considering switching to dolladollabills.
Ooohh interesting. We also use async-stripe, definitely going to have to check out dolladollabills though. Also in the Rust monorepo camp, our proof release takes ~5 mins from clean, tests are about 6 mins. We’ve invested a bit of effort getting our build-time down: don’t build in a docker container, we just copy the final artefact in-this wiped the most time of our builds. More parallel codegen units too.
async-stripe takes over two minutes to build due to codegen. We're considering switching to dolladollabills.
Our core API server takes a minute to build, and we have about a dozen services and command line apps, a bunch of little shared library crates, two desktop apps, and a Bevy app.
Our Github actions docker build takes ~10 minutes if you don't include the tests, but we're starting to shave off more time. (Our monorepo is 105589 Rust LOC total)