Re:Abseil: C++ Common Libraries
by weberc2 on Tuesday September 26, 2017 @05:23PM
(#15342638)
CMake is the biggest reason I left C++ for Rust (there are others, of course), which is a shame because I actually came to like modern C++ (after years of using it). I just don't have time to maintain a complex build program (in a crappy, slow language to boot) when Cargo just works out of the box.
[ Parent
| on HN ]
Cargo still doesn't work out of the box for linking against binary libraries.
That, alongside the lack of incremental compiler and linking, means my C++ work projects (native libraries for Java and .NET) actually do compile much faster than Rust occasional weekend projects.
Looks like incremental compilation hit beta in Feb: https://internals.rust-lang.org/t/incremental-compilation-be...
For me it's just fine that cargo doesn't support every odd use case of of the box in exchange for supporting the majority of use cases with virtually no effort. CMake hardly supports anything without a bunch of scripting--this includes reproducible builds, unit testing, etc.