930 karma · joined Jan 17, 2012 (14y ago) · 240 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
Completely agree, Autoconf needs to die. C++ builds don't need to be complex and fragile, even if many environments are supported. Just use a minimal CMake build and resist the urge to implement "clever" things in it.
comment 6y ago · link · parent
All the complex things that Bazel brings into the game (distributed builds and caches primarily) simply don't have any value when the main task that you're trying to make faster is not done well.
I would much rather like to see more tooling that does these things but builds upon layers of battle-tested existing software.
comment 6y ago · link · parent
That changes drastically if your codebase contains a lot of C++ and your SW model doesn't quite match the way Bazel tries to push you into. For instance doing any of the following things will quickly turn into a nightmare when using the Bazel C++ rules:
* dynamically linking libraries
* using a containerized approach for library includes (so transitive relative include paths)
* using different toolchains and cross compiling
* interfacing with thirdparty libraries
We are talking seasoned build engineers ending up frustrated after literally months of trying to achieve something that is easy as pie in CMake.
In addition there is still no real IDE support. The CLion plugin is permanently broken and lags behind versions. No real VSCode support. Using custom rules makes this even worse, to the point where CLion will refuse to sync and not having a way to produce a compilation database json.
There are so many bugs open on those projects and no progress or answers. I can not recommend Bazel if C++ or C is what you care about.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Edit: I don't want to come off as too negative about Bazel. But I really think it needs more time and is nowhere near something that I would call a 1.0 let alone a 2.0
comment 7y ago · link · parent
This risk is not captured by a single deaths/TWh number, so please stop comparing this when debating (current) nuclear energy options (not talking about future designs or even fission-based plants)