5 ms·
In my opinion Bazel/Blaze and Buck are mainly useful to solve the problem of having too much code to build on one machine. Reproducible builds which can be done
by throwaway1777 7y ago
In my opinion Bazel/Blaze and Buck are mainly useful to solve the problem of having too much code to build on one machine. Reproducible builds which can be done in a distributed fashion aren’t really useful when you can build your whole project in a minute or two on one machine. That being said, once you get the hang of it the overhead is not too high compared to simpler systems.
- a_t48 7y agoNone of the last three companies I worked at could build in under a minute, sadly.
- indolering 7y agoThere are security reasons to want a reproducible build.
- kartayyar 7y agoXoogler here who used the internal version of Bazel ( blaze ) extensively, liked it and now opted to use it for our 2 person startup ( at least for the backend ). You don't need a giant codebase to start benefitting from it. Even if you have a smaller codebase, and properly use bazel to setup tests, you only test what needs testing, and that makes a huge difference in productivity.
- MapleWalnut 7y agoWhat languages are you using with Bazel? I have a project that uses Typescript and Python. Are you using Bazel with interpreted languages?
- evmar 7y agoBazel has experimental but pretty sophisticated support for TypeScript, with arguably a better compilation experience for large projects than the best known alternatives. (Disclaimer: I'm biased because I work on it, but I also work on non-bazel TypeScript projects so I am aware of the tradeoffs.) https://bazelbuild.github.io/rules_nodejs/TypeScript.html https://bazelbuild.github.io/rules_nodejs/TypeScript.html