tobyndax / AdventOfCode2021

MIT License
0 stars 0 forks source link

Should I be using Bazel for all my projects? #4

Closed owodunni closed 2 years ago

owodunni commented 2 years ago

I like to use build systems but I find draging gradle into every new project to be a bit cumbersome. I always have to start out with a Java docker image in CI. Should I instead be using and trying out bazel?!

tobyndax commented 2 years ago

Should you try Bazel out? Yes! However, you should probably try it out with one of the languages it actually likes, i.e. python, c/c++, Java (https://docs.bazel.build/versions/4.2.2/be/overview.html)

Without having used those parts of Bazel yet, I think gradle is more powerful in the "flexibility" department. Not sure how good Bazel will be, once I need to general stuff, like moving / zipping some files, or uploading something to artifactory (or the like). https://docs.bazel.build/versions/4.2.2/be/general.html#genrule

It's quite fixed structure for c++ and tests, is quite refreshing :)

owodunni commented 2 years ago

Nobody likes Java! Trying it out with Golang. So far so good!

On Sat, 4 Dec 2021, 21:15 Jens Edhammer, @.***> wrote:

Should you try Bazel out? Yes! However, you should probably try it out with one of the languages it actually likes, i.e. python, c/c++, Java ( https://docs.bazel.build/versions/4.2.2/be/overview.html)

Without having used those parts of Bazel yet, I think gradle is more powerful in the "flexibility" department. Not sure how good Bazel will be, once I need to general stuff, like moving / zipping some files, or uploading something to artifactory (or the like). https://docs.bazel.build/versions/4.2.2/be/general.html#genrule

It's quite fixed structure for c++ and tests, is quite refreshing :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tobyndax/AdventOfCode2021/issues/4#issuecomment-986086800, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBL2UX4NUJGTTQC55PUWK3UPJZHTANCNFSM5JLIGEBA .