4 ms·
Yep. The only way to reap the benefits with bazel is to have somebody who continuously deals with the problems. This is not that different from many other aspe
by ithkuil 2y ago
Yep. The only way to reap the benefits with bazel is to have somebody who continuously deals with the problems.
This is not that different from many other aspects of software engineering, but as on those other areas you need to run a cost-benefit analysis
- carlmr 2y agoWe've had great success in using Bazel for a large mixed C++/Python and some other languages monorepo. The initial setup cost is somewhat high, but the caching aspects and configurability make it a real game changer in this space. If you're building a Rust-only project it's probably better to stick with Cargo, since Cargo caches really well and doesn't have such a large setup cost.
- ithkuil 2y agoCargo caches well locally, but I had problems getting good performance on CI with cache save/restore. OTOH bazel remote caching works quite well (didn't try with rust yet though)
- carlmr 2y ago>OTOH bazel remote caching works quite well (didn't try with rust yet though) I don't think there's a reason it wouldn't work for that.